update the toolchain, devshell, and build configuration

AGP 9.4.1 / Gradle 9.7.1 / Kotlin 2.3.10 (AGP built-in Kotlin), compileSdk and targetSdk 37, Room 3 with KSP schema export, and nushell/navidrome/gonic in the devshell plus a direnv .envrc. Adds a dedicated :app:integrationTest task and excludes the integration class from the unit test tasks.
This commit is contained in:
austinried
2026-10-04 00:29:51 +00:00
parent 6b6758a9b0
commit 967b733925
11 changed files with 111 additions and 98 deletions
+9 -4
View File
@@ -2,7 +2,7 @@
description = "Subtracks - Kotlin/Jetpack Compose Android development shell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/6b316287bae2ee04c9b93c8c858d930fd07d7338";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs =
@@ -23,9 +23,9 @@
};
};
android = pkgs.androidenv.composeAndroidPackages {
platformVersions = [ "35" ];
platformVersions = [ "37" ];
buildToolsVersions = [ "37.0.0" ];
platformToolsVersion = "37.0.0";
platformToolsVersion = "37.0.1";
includeEmulator = false;
includeSystemImages = false;
includeNDK = false;
@@ -38,8 +38,13 @@
default = pkgs.mkShell {
packages = [
pkgs.jdk21
pkgs.gradle
pkgs.gradle_9
pkgs.git
pkgs.curl
pkgs.unzip
pkgs.nushell
pkgs.navidrome
pkgs.gonic
androidSdk
android.platform-tools
];