2020-08-27 12:20:39 +00:00
|
|
|
#
|
|
|
|
# This Nix expression centralizes the configuration
|
|
|
|
# for the Android development environment.
|
|
|
|
#
|
|
|
|
|
2022-05-26 09:11:34 +00:00
|
|
|
{ androidenv }:
|
2020-08-27 12:20:39 +00:00
|
|
|
|
2021-07-22 13:38:59 +00:00
|
|
|
# The "android-sdk-license" license is accepted
|
|
|
|
# by setting android_sdk.accept_license = true.
|
2020-08-27 12:20:39 +00:00
|
|
|
androidenv.composeAndroidPackages {
|
|
|
|
toolsVersion = "26.1.1";
|
2022-08-31 23:30:35 +00:00
|
|
|
platformToolsVersion = "33.0.2";
|
2021-07-22 13:38:59 +00:00
|
|
|
buildToolsVersions = [ "31.0.0" ];
|
2022-09-20 10:50:16 +00:00
|
|
|
platformVersions = [ "31" ];
|
2021-04-12 14:07:55 +00:00
|
|
|
cmakeVersions = [ "3.18.1" ];
|
|
|
|
ndkVersion = "22.1.7171670";
|
2021-07-22 13:38:59 +00:00
|
|
|
includeNDK = true;
|
2020-08-27 12:20:39 +00:00
|
|
|
includeExtras = [
|
|
|
|
"extras;android;m2repository"
|
|
|
|
"extras;google;m2repository"
|
|
|
|
];
|
|
|
|
}
|