From 5b91d4ab65748285ffad3e309bba2e7475c7d3db Mon Sep 17 00:00:00 2001 From: numinit Date: Fri, 13 Nov 2020 19:18:52 -0700 Subject: Rework androidenv package generation androidenv did not previously write license files, which caused certain gradle-based Android tools to fail. Restructure androidenv's list of Android packages into a single repo.json file to prevent duplication and enable us to extract the EULA texts, which we then hash with builtins.hashString to produce the license files that Android gradle tools look for. Remove includeDocs and lldbVersions, as these have been removed from the Android package repositories. Improve documentation and examples. --- nixos/doc/manual/release-notes/rl-2103.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'nixos/doc') diff --git a/nixos/doc/manual/release-notes/rl-2103.xml b/nixos/doc/manual/release-notes/rl-2103.xml index 432de831cb67..8cce8a7949ce 100644 --- a/nixos/doc/manual/release-notes/rl-2103.xml +++ b/nixos/doc/manual/release-notes/rl-2103.xml @@ -335,6 +335,22 @@ http://some.json-exporter.host:7979/probe?target=https://example.com/some/json/e official documentation of the json_exporter. + + + Androidenv was updated, removing the includeDocs and lldbVersions + arguments. Docs only covered a single version of the Android SDK, LLDB is now bundled with the NDK, + and both are no longer available to download from the Android package repositories. Additionally, since + the package lists have been updated, some older versions of Android packages may not be bundled. If you + depend on older versions of Android packages, we recommend overriding the repo. + + + Android packages are now loaded from a repo.json file created by parsing Android repo XML files. The arguments + repoJson and repoXmls have been added to allow overriding the built-in + androidenv repo.json with your own. Additionally, license files are now written to allow compatibility + with Gradle-based tools, and the extraLicenses argument has been added to accept more + SDK licenses if your project requires it. See the androidenv documentation for more details. + + -- cgit v1.2.3