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-05-26 09:16:54 +00:00
|
|
|
platformToolsVersion = "33.0.1";
|
2021-07-22 13:38:59 +00:00
|
|
|
buildToolsVersions = [ "31.0.0" ];
|
2021-09-02 12:24:09 +00:00
|
|
|
platformVersions = [ "30" ];
|
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"
|
|
|
|
];
|
|
|
|
}
|