2025-03-31 14:08:20 +02:00
|
|
|
#
|
|
|
|
|
# This Nix expression centralizes the configuration
|
|
|
|
|
# for the Android development environment.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
{ androidenv, lib, stdenv }:
|
|
|
|
|
|
|
|
|
|
# The "android-sdk-license" license is accepted
|
|
|
|
|
# by setting android_sdk.accept_license = true.
|
|
|
|
|
androidenv.composeAndroidPackages {
|
|
|
|
|
cmdLineToolsVersion = "9.0";
|
|
|
|
|
toolsVersion = "26.1.1";
|
2026-01-23 14:06:30 +01:00
|
|
|
platformToolsVersion = "34.0.5";
|
2025-03-31 14:08:20 +02:00
|
|
|
buildToolsVersions = [ "34.0.0" ];
|
|
|
|
|
platformVersions = [ "34" ];
|
|
|
|
|
cmakeVersions = [ "3.22.1" ];
|
2026-01-23 14:06:30 +01:00
|
|
|
ndkVersion = "27.2.12479018";
|
2025-03-31 14:08:20 +02:00
|
|
|
includeNDK = true;
|
|
|
|
|
includeExtras = [
|
|
|
|
|
"extras;android;m2repository"
|
|
|
|
|
"extras;google;m2repository"
|
|
|
|
|
];
|
|
|
|
|
}
|