about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2023-01-29 18:11:41 +0200
committerGitHub <noreply@github.com>2023-01-29 18:11:41 +0200
commitc2e37a404cc51de870e202adc87fcb4e51a4df14 (patch)
tree1305924194c36a884e2dd14450e40ceeb52ffec4 /doc
parent84908d1c95e513ff9f4190055d2ab99f87d83d06 (diff)
parent9c4e43ab70c506875684619f30d6d16f093e87d5 (diff)
Merge pull request #208793 from hadilq/androidenv/cmdline-tools-and-patcher
androidenv: Implement cmdline-tools and patcher
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/android.section.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/languages-frameworks/android.section.md b/doc/languages-frameworks/android.section.md
index 15b8d3839b193..6f9717ca09cca 100644
--- a/doc/languages-frameworks/android.section.md
+++ b/doc/languages-frameworks/android.section.md
@@ -13,6 +13,7 @@ with import <nixpkgs> {};
 
 let
   androidComposition = androidenv.composeAndroidPackages {
+    cmdLineToolsVersion = "8.0";
     toolsVersion = "26.1.1";
     platformToolsVersion = "30.0.5";
     buildToolsVersions = [ "30.0.3" ];
@@ -42,7 +43,10 @@ exceptions are the tools, platform-tools and build-tools sub packages.
 
 The following parameters are supported:
 
-* `toolsVersion`, specifies the version of the tools package to use
+* `cmdLineToolsVersion `, specifies the version of the `cmdline-tools` package to use
+* `toolsVersion`, specifies the version of the `tools` package. Notice `tools` is
+  obsolete, and currently only `26.1.1` is available, so there's not a lot of
+  options here, however, you can set it as `null` if you don't want it.
 * `platformsToolsVersion` specifies the version of the `platform-tools` plugin
 * `buildToolsVersions` specifies the versions of the `build-tools` plugins to
   use.