Gradle 6 8 1
Author: a | 2025-04-24
The Gradle wrapper, Gradle client, Tooling API client, and TestKit client will remain compatible with JVM 8. JDK 6 and 7 can be used for compilation . Testing with JVM 6 and 7 is deprecated and will not be supported in Gradle 9.0. Changing the two legacy directives will allow the build.gradle files to work with Gradle 7. Now, when you do your builds, you'll be using Gradle 7 and not Gradle 6. Conclusion. So here we've updated your builds to go from Gradle 6 to Gradle 7. Yes, I know it's not Gradle 8, but it is still forward progress.
Sonarqube Gradle task with Gradle 8 produces a crash - Sonar
Download Gradle 8.13 Date released: 25 Feb 2025 (2 weeks ago) Download Gradle 8.12.1 Date released: 25 Jan 2025 (one month ago) Download Gradle 8.12 Date released: 21 Dec 2024 (3 months ago) Download Gradle 8.11.1 Date released: 21 Nov 2024 (4 months ago) Download Gradle 8.11 Date released: 11 Nov 2024 (4 months ago) Download Gradle 8.10.2 Date released: 24 Sep 2024 (6 months ago) Download Gradle 8.10.1 Date released: 09 Sep 2024 (6 months ago) Download Gradle 8.10 Date released: 15 Aug 2024 (7 months ago) Download Gradle 8.9 Date released: 12 Jul 2024 (8 months ago) Download Gradle 8.8 Date released: 01 Jun 2024 (9 months ago) Download Gradle 8.7 Date released: 26 Mar 2024 (12 months ago) Download Gradle 8.6 Date released: 03 Feb 2024 (one year ago) Download Gradle 8.5 Date released: 29 Nov 2023 (one year ago) Download Gradle 8.3 Date released: 17 Aug 2023 (one year ago) Download Gradle 8.2.1 Date released: 11 Jul 2023 (one year ago) Download Gradle 8.2 Date released: 01 Jul 2023 (one year ago) Download Gradle 8.1.1 Date released: 23 Apr 2023 (one year ago) Download Gradle 8.1 Date released: 13 Apr 2023 (one year ago) Download Gradle 8.0.2 Date released: 04 Mar 2023 (2 years ago) Download Gradle 8.0.1 Date released: 18 Feb 2023 (2 years ago)
Starting a Gradle Daemon, 1 busy and 6 stopped Daemons could
Download Gradle 8.13 Date released: 25 Feb 2025 (3 weeks ago) Download Gradle 8.12.1 Date released: 25 Jan 2025 (one month ago) Download Gradle 8.12 Date released: 21 Dec 2024 (3 months ago) Download Gradle 8.11.1 Date released: 21 Nov 2024 (4 months ago) Download Gradle 8.11 Date released: 11 Nov 2024 (4 months ago) Download Gradle 8.10.2 Date released: 24 Sep 2024 (6 months ago) Download Gradle 8.10.1 Date released: 09 Sep 2024 (6 months ago) Download Gradle 8.10 Date released: 15 Aug 2024 (7 months ago) Download Gradle 8.9 Date released: 12 Jul 2024 (8 months ago) Download Gradle 8.8 Date released: 01 Jun 2024 (10 months ago) Download Gradle 8.7 Date released: 26 Mar 2024 (12 months ago) Download Gradle 8.6 Date released: 03 Feb 2024 (one year ago) Download Gradle 8.5 Date released: 29 Nov 2023 (one year ago) Download Gradle 8.3 Date released: 17 Aug 2023 (one year ago) Download Gradle 8.2.1 Date released: 11 Jul 2023 (one year ago) Download Gradle 8.2 Date released: 01 Jul 2023 (one year ago) Download Gradle 8.1.1 Date released: 23 Apr 2023 (one year ago) Download Gradle 8.1 Date released: 13 Apr 2023 (one year ago) Download Gradle 8.0.2 Date released: 04 Mar 2023 (2 years ago) Download Gradle 8.0.1 Date released: 18 Feb 2023 (2 years ago)Copyless 1 8 6 - coolbfiles
Hi!First and foremost, thanks for such an extensive doc and what seems to be an amazing project!I'm running into an issue trying out the demo and I was wondering if you could help me out.Essentially, some dependencies (spring) aren't handled by gradle and the build fails.System info:MacOS High Sierra 10.13.5Java 8 installedJAVA_HOME set to /usr/libexec/java_home -v 1.8 (which is /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home on my machine)Would prefer using IntelliJ (despite contribution guidelines mentionning Eclipse only, I assume it's fine since the rest of the documentation mentions IntelliJ too)am only using it through the commandline so far (have not opened the project in IntelliJ or Eclipse)Steps to reproduce:cloned the repo: git clone the karate-demo folder to its own: cp -R karate/karate-demo/ ~/karate-demomoved to the folder: cd ~/karate-demoran gradle wrapper with the following resultStarting a Gradle Daemon (subsequent builds will be faster)Download Gradle features were used in this build, making it incompatible with Gradle 5.0.See SUCCESSFUL in 27s1 actionable task: 1 executedthen ran ./gradlew test with the following output Task :compileJava/Users/mehdychaillou/karate-demo/src/main/java/com/intuit/karate/demo/util/DbUtils.java:7: error: package org.springframework.jdbc.core does not existimport org.springframework.jdbc.core.JdbcTemplate; ^/Users/mehdychaillou/karate-demo/src/main/java/com/intuit/karate/demo/util/DbUtils.java:8: error: package org.springframework.jdbc.datasource does not existimport org.springframework.jdbc.datasource.DriverManagerDataSource; ^/Users/mehdychaillou/karate-demo/src/main/java/com/intuit/karate/demo/util/DbUtils.java:18: error: cannot find symbol private final JdbcTemplate jdbc; ^ symbol: class JdbcTemplate location: class DbUtils/Users/mehdychaillou/karate-demo/src/main/java/com/intuit/karate/demo/controller/DogsController.java:30: error: package org.springframework.jdbc.core does not existimport org.springframework.jdbc.core.JdbcTemplate; ^/Users/mehdychaillou/karate-demo/src/main/java/com/intuit/karate/demo/controller/DogsController.java:31: error: package org.springframework.jdbc.core does not existimport org.springframework.jdbc.core.RowMapper; ^/Users/mehdychaillou/karate-demo/src/main/java/com/intuit/karate/demo/controller/DogsController.java:48: error: cannot find symbol private JdbcTemplate jdbc; ^ symbol: class JdbcTemplate location: class DogsController/Users/mehdychaillou/karate-demo/src/main/java/com/intuit/karate/demo/controller/DogsController.java:52: error: cannot find symbol private static final RowMapper ROW_MAPPER = (rs, rowNum) -> new Dog(rs.getInt("ID"), rs.getString("NAME")); ^ symbol: class RowMapper location: class DogsController/Users/mehdychaillou/karate-demo/src/main/java/com/intuit/karate/demo/util/DbUtils.java:25:. The Gradle wrapper, Gradle client, Tooling API client, and TestKit client will remain compatible with JVM 8. JDK 6 and 7 can be used for compilation . Testing with JVM 6 and 7 is deprecated and will not be supported in Gradle 9.0.Itubedownloader 6 3 8 1
If you have a a Java 8 JDK installed inside some Java 17 Alpine Linux docker containers, javaToolchains will find the Java 8 JDK, but it will report its version as Java 17. If you instead configure toolchains (with foojay) to download a Java 8 JDK it will download a JDK but then reject it for not matching the spec.Expected BehaviorA Java 8 JDK should be detected as Java 8.Current BehaviorThe Java 8 JDK is detected as Java 17ContextI am trying to configure a build that uses multiple versions of Java. I would like to use the same gradle files whether the build is run inside or outside a container. I would like the toolchain feature to download the appropriate JDKs when run outside the container, and use the already installed JDKs when run inside the container. This reproduction steps below are written as if the display issue was the actual problem because that is easier to demonstrate. I'm hoping that fixing the version detection will also let me use the toolchain feature.My workaround at this point is to have different build behavior when inside the container (toolchain outside and sourceCompatibility inside).Steps to ReproduceBuild this Dockerfile with docker build --progress=plain .You don't need to actually run the container, the docker output should show the issue.Dockerfile.txt (rename to just Dockerfile)# syntax=docker/dockerfile:1FROM gradle:8.0.2-jdk11-alpine as gradle-initRUN apk add openjdk8WORKDIR /testRUN gradle init# Break cacheADD /etc/builddateRUN ./gradlew -q javaToolchainsFROM openjdk:17-jdk-alpineRUN apk add openjdk8COPY --link --from=gradle-init /test ./RUN ./gradlew -q javaToolchainsThe javaToolchains command will run twice. The first time the output will be like:#20 [gradle-init 6/6] RUN ./gradlew -q javaToolchains#20 sha256:5c9ce971c31082890dffc0bcdaace3efeb26b4818b06ad1152592059a916cb43#20 17.14#20 17.44 + Options#20 17.44 | Auto-detection: Enabled#20 17.44 | Auto-download: Enabled#20 17.44#20 17.44 + Eclipse Temurin JDK 11.0.18+10#20 17.45 | Location: /opt/java/openjdk#20 17.45 | Language Version: 11#20 17.45 | Vendor: Eclipse Temurin#20 17.45 | Architecture: amd64#20 17.45 | Is JDK: true#20 17.45 | Detected by: Current JVM#20 17.45#20 17.45 + IcedTea JDK 1.8.0_345-b01#20 17.45 | Location: /usr/lib/jvm/java-1.8-openjdk#20 17.45 | Language Version: 8#20 17.45 | Vendor: IcedTea#20 17.45 | Architecture: amd64#20 17.45 | Is JDK: true#20 17.45 | Detected by: Common Linux LocationsThe second time the output will be like:#22 15.78 + Options#22 15.78 | Auto-detection: Enabled#22 15.78 | Auto-download: Enabled#22 15.78#22 15.78 + OpenJDK 17-ea+14#22 15.78 | Location: /usr/lib/jvm/java-1.8-openjdk#22 15.78 | Language Version: 17#22 15.79 | Vendor: Oracle#22 15.79 | Architecture: amd64#22 15.79 | Is JDK: true#22 15.79 | Detected by: Common LinuxSolve 8/15-1/6
In this article, we'll explain about how to install Gradle on Ubuntu 22.04.Gradle is an open-source build automation tool focused on flexibility and performance. Gradle build scripts are written using a Groovy or Kotlin DSL. Read about Gradle features to learn what is possible with Gradle.Highly customizable — Gradle is modeled in a way that is customizable and extensible in the most fundamental ways.Fast — Gradle completes tasks quickly by reusing outputs from previous executions, processing only inputs that changed, and executing tasks in parallel.Powerful — Gradle is the official build tool for Android, and comes with support for many popular languages and technologiesHow to install Gradle on Ubuntu 22.04.Prerequisites:A Ubuntu 22.04 installed dedicated server or KVM VPS.A root user access or normal user with sudo privileges.1. Keep the server up to datesudo apt update && sudo apt-get upgrade -y2. Install required packagesudo apt install unzip -y3. Install OpenJDKHere, we're installing default OpenJDK 11, which is already included but this will not be the latest version. For Gradle we required OpenJDK 8 and later. If your project require latest version or specific version of JDK, please refer official documentation. Execute following command:sudo apt install default-jdkVerify the Java installation by printing the Java version :java -version4. Download GradleAt the time of writing this article, the latest version of Gradle is v8.1.1. Before continuing with the next step, you should check the Gradle releases page to see if a newer version is available.Download the Gradle binary file in the /tmp directory usingLeviticus 1:6, 8 - Bible.com
Custom Gradle version in Unity, go to "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version classpath 'com.newrelic.agent.android:agent-gradle-plugin:6.11.0' **BUILD_SCRIPT_DEPS** } }"> dependencies { // If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity // See which Gradle version is preinstalled with Unity here // See official Gradle and Android Gradle Plugin compatibility table here // To specify a custom Gradle version in Unity, go to "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version classpath 'com.newrelic.agent.android:agent-gradle-plugin:7.6.4' **BUILD_SCRIPT_DEPS** } }If you are utilizing an older version of Unity Studio, you can incorporate a lower version of the classpath as a dependency which supports AGP7 and lower version of Gradle.```groovy dependencies { // If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity // See which Gradle version is preinstalled with Unity here // See official Gradle and Android Gradle Plugin compatibility table here // To specify a custom Gradle version in Unity, go to "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version classpath 'com.newrelic.agent.android:agent-gradle-plugin:6.11.0' **BUILD_SCRIPT_DEPS** } }By making these changes in your Gradle files, you will ensure that the New Relic artifacts are properly downloaded and included in your Unity project.6.Make sure your app requests INTERNET and ACCESS_NETWORK_STATE permissions by adding these lines to your AndroidManifest.xml "> uses-permission android:name="android.permission.INTERNET" /> uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />Please ensure that your External Dependency Manager settings match the following configuration. In your Unity IDE, navigate to Assets → External Dependency Manager → iOS Resolver → Settings:Add use_frameworks! to Podfile is unchecked.Always add the main target to Podfile box is checked. If the Podfile is not being used for iOS dependency management, you can proceed with the following steps.Download and unzip the New Relic XCFramework SDKDownload the latest iOS agent from our iOS agent release notesAdd the New Relic XCFramework to your Xcode projectUnzip the SDK download, drag the “NewRelicAgent.xcframework” folder from the Finder into your Xcode project (dropping it onto your Targets Frameworks pane). Select “Embed & Sign” under the Embed column.UsageSee the examples below, and for more detail, see New Relic IOS SDK doc or Android SDK.startInteractionWithName(string name): ;;" href="#startinteractionwithnamestring-name-interactionid">Track a method as an interaction.InteractionId is string.stopCurrentInteraction(string interactionIdentifier): void;End an interaction(Required). This uses the string ID for the interaction you want to end.This string is returned when you use startInteraction(). string interActionId = NewRelicAgent.StartInteractionWithName("Unity InterAction Example"); for(int i =0; i 4;i++) { Thread.Sleep(1000); } NewRelicAgent.StopCurrentInteraction(interActionId);setAttribute(string name, string|double value): void;Creates a session-level attribute. The Gradle wrapper, Gradle client, Tooling API client, and TestKit client will remain compatible with JVM 8. JDK 6 and 7 can be used for compilation . Testing with JVM 6 and 7 is deprecated and will not be supported in Gradle 9.0.Comments
Download Gradle 8.13 Date released: 25 Feb 2025 (2 weeks ago) Download Gradle 8.12.1 Date released: 25 Jan 2025 (one month ago) Download Gradle 8.12 Date released: 21 Dec 2024 (3 months ago) Download Gradle 8.11.1 Date released: 21 Nov 2024 (4 months ago) Download Gradle 8.11 Date released: 11 Nov 2024 (4 months ago) Download Gradle 8.10.2 Date released: 24 Sep 2024 (6 months ago) Download Gradle 8.10.1 Date released: 09 Sep 2024 (6 months ago) Download Gradle 8.10 Date released: 15 Aug 2024 (7 months ago) Download Gradle 8.9 Date released: 12 Jul 2024 (8 months ago) Download Gradle 8.8 Date released: 01 Jun 2024 (9 months ago) Download Gradle 8.7 Date released: 26 Mar 2024 (12 months ago) Download Gradle 8.6 Date released: 03 Feb 2024 (one year ago) Download Gradle 8.5 Date released: 29 Nov 2023 (one year ago) Download Gradle 8.3 Date released: 17 Aug 2023 (one year ago) Download Gradle 8.2.1 Date released: 11 Jul 2023 (one year ago) Download Gradle 8.2 Date released: 01 Jul 2023 (one year ago) Download Gradle 8.1.1 Date released: 23 Apr 2023 (one year ago) Download Gradle 8.1 Date released: 13 Apr 2023 (one year ago) Download Gradle 8.0.2 Date released: 04 Mar 2023 (2 years ago) Download Gradle 8.0.1 Date released: 18 Feb 2023 (2 years ago)
2025-03-26Download Gradle 8.13 Date released: 25 Feb 2025 (3 weeks ago) Download Gradle 8.12.1 Date released: 25 Jan 2025 (one month ago) Download Gradle 8.12 Date released: 21 Dec 2024 (3 months ago) Download Gradle 8.11.1 Date released: 21 Nov 2024 (4 months ago) Download Gradle 8.11 Date released: 11 Nov 2024 (4 months ago) Download Gradle 8.10.2 Date released: 24 Sep 2024 (6 months ago) Download Gradle 8.10.1 Date released: 09 Sep 2024 (6 months ago) Download Gradle 8.10 Date released: 15 Aug 2024 (7 months ago) Download Gradle 8.9 Date released: 12 Jul 2024 (8 months ago) Download Gradle 8.8 Date released: 01 Jun 2024 (10 months ago) Download Gradle 8.7 Date released: 26 Mar 2024 (12 months ago) Download Gradle 8.6 Date released: 03 Feb 2024 (one year ago) Download Gradle 8.5 Date released: 29 Nov 2023 (one year ago) Download Gradle 8.3 Date released: 17 Aug 2023 (one year ago) Download Gradle 8.2.1 Date released: 11 Jul 2023 (one year ago) Download Gradle 8.2 Date released: 01 Jul 2023 (one year ago) Download Gradle 8.1.1 Date released: 23 Apr 2023 (one year ago) Download Gradle 8.1 Date released: 13 Apr 2023 (one year ago) Download Gradle 8.0.2 Date released: 04 Mar 2023 (2 years ago) Download Gradle 8.0.1 Date released: 18 Feb 2023 (2 years ago)
2025-04-08If you have a a Java 8 JDK installed inside some Java 17 Alpine Linux docker containers, javaToolchains will find the Java 8 JDK, but it will report its version as Java 17. If you instead configure toolchains (with foojay) to download a Java 8 JDK it will download a JDK but then reject it for not matching the spec.Expected BehaviorA Java 8 JDK should be detected as Java 8.Current BehaviorThe Java 8 JDK is detected as Java 17ContextI am trying to configure a build that uses multiple versions of Java. I would like to use the same gradle files whether the build is run inside or outside a container. I would like the toolchain feature to download the appropriate JDKs when run outside the container, and use the already installed JDKs when run inside the container. This reproduction steps below are written as if the display issue was the actual problem because that is easier to demonstrate. I'm hoping that fixing the version detection will also let me use the toolchain feature.My workaround at this point is to have different build behavior when inside the container (toolchain outside and sourceCompatibility inside).Steps to ReproduceBuild this Dockerfile with docker build --progress=plain .You don't need to actually run the container, the docker output should show the issue.Dockerfile.txt (rename to just Dockerfile)# syntax=docker/dockerfile:1FROM gradle:8.0.2-jdk11-alpine as gradle-initRUN apk add openjdk8WORKDIR /testRUN gradle init# Break cacheADD /etc/builddateRUN ./gradlew -q javaToolchainsFROM openjdk:17-jdk-alpineRUN apk add openjdk8COPY --link --from=gradle-init /test ./RUN ./gradlew -q javaToolchainsThe javaToolchains command will run twice. The first time the output will be like:#20 [gradle-init 6/6] RUN ./gradlew -q javaToolchains#20 sha256:5c9ce971c31082890dffc0bcdaace3efeb26b4818b06ad1152592059a916cb43#20 17.14#20 17.44 + Options#20 17.44 | Auto-detection: Enabled#20 17.44 | Auto-download: Enabled#20 17.44#20 17.44 + Eclipse Temurin JDK 11.0.18+10#20 17.45 | Location: /opt/java/openjdk#20 17.45 | Language Version: 11#20 17.45 | Vendor: Eclipse Temurin#20 17.45 | Architecture: amd64#20 17.45 | Is JDK: true#20 17.45 | Detected by: Current JVM#20 17.45#20 17.45 + IcedTea JDK 1.8.0_345-b01#20 17.45 | Location: /usr/lib/jvm/java-1.8-openjdk#20 17.45 | Language Version: 8#20 17.45 | Vendor: IcedTea#20 17.45 | Architecture: amd64#20 17.45 | Is JDK: true#20 17.45 | Detected by: Common Linux LocationsThe second time the output will be like:#22 15.78 + Options#22 15.78 | Auto-detection: Enabled#22 15.78 | Auto-download: Enabled#22 15.78#22 15.78 + OpenJDK 17-ea+14#22 15.78 | Location: /usr/lib/jvm/java-1.8-openjdk#22 15.78 | Language Version: 17#22 15.79 | Vendor: Oracle#22 15.79 | Architecture: amd64#22 15.79 | Is JDK: true#22 15.79 | Detected by: Common Linux
2025-04-20In this article, we'll explain about how to install Gradle on Ubuntu 22.04.Gradle is an open-source build automation tool focused on flexibility and performance. Gradle build scripts are written using a Groovy or Kotlin DSL. Read about Gradle features to learn what is possible with Gradle.Highly customizable — Gradle is modeled in a way that is customizable and extensible in the most fundamental ways.Fast — Gradle completes tasks quickly by reusing outputs from previous executions, processing only inputs that changed, and executing tasks in parallel.Powerful — Gradle is the official build tool for Android, and comes with support for many popular languages and technologiesHow to install Gradle on Ubuntu 22.04.Prerequisites:A Ubuntu 22.04 installed dedicated server or KVM VPS.A root user access or normal user with sudo privileges.1. Keep the server up to datesudo apt update && sudo apt-get upgrade -y2. Install required packagesudo apt install unzip -y3. Install OpenJDKHere, we're installing default OpenJDK 11, which is already included but this will not be the latest version. For Gradle we required OpenJDK 8 and later. If your project require latest version or specific version of JDK, please refer official documentation. Execute following command:sudo apt install default-jdkVerify the Java installation by printing the Java version :java -version4. Download GradleAt the time of writing this article, the latest version of Gradle is v8.1.1. Before continuing with the next step, you should check the Gradle releases page to see if a newer version is available.Download the Gradle binary file in the /tmp directory using
2025-03-28Posted by Murat Yener, Developer Advocate Today marks the release of the first Canary version of Android Studio Arctic Fox (2020.3.1), together with Android Gradle plugin (AGP) version 7.0.0-alpha01. With this release we are adjusting the version numbering for our Gradle plugin and decoupling it from the Android Studio versioning scheme. In this blog post we'll explain the reasons for the change, as well as give a preview of some important changes we're making to our new, incubating Android Gradle plugin APIs and DSL. New versioning schemeWith AGP 7.0.0 we are adopting the principles of semantic versioning. What this means is that only major version changes will break API compatibility. We intend to release one major version each year, right after Gradle introduces its own yearly major release. Moreover, in the case of a breaking change, we will ensure that the removed API is marked with @Deprecated about a year in advance and that its replacement is available at the same time. This will give developers roughly a year to migrate and test their plugins with the new API before the old API is removed.Alignment with Gradle's version is also why we're skipping versions 5 and 6, and moving directly to AGP 7.0.0. This alignment indicates that AGP 7.x is meant to work with Gradle 7.x APIs. While it may also run on Gradle 8.x, this is not guaranteed and will depend on whether 8.x removes APIs that AGP relies on.With this change, the AGP version number will be decoupled from the Android Studio version number. However we will keep releasing Android Studio and Android Gradle plugin together for the foreseeable future.Compatibility between Android Studio and Android Gradle plugin remains unchanged. As a general rule, projects that use stable versions of AGP can be opened with newer versions of Android Studio. Java 11 requirementWith AGP 7.0.0-alpha01 we are changing the minimum required Java programming language version to Java 11. We are announcing this early in the Canary schedule and many months ahead of the stable release to allow developers time to get ready. Incubating APIs and important API changesThis release of AGP also introduces some API changes. As a reminder, a number of APIs that were introduced in AGP 4.1 were marked as incubating and were subject to change. In fact, in AGP 4.2 some of these APIs have changed. The APIs that are currently incubating do not follow the deprecation cycle that we explain above. Here is a summary of some important API changes.The onVariants, onProperties and onVariantProperties blocks are removed in version 4.2 beta.These APIs are replaced with beforeVariants and onVariants in the new androidComponents block. Both beforeVariants and onVariants can optionally use a VariantSelector to reduce the number of variants the callback will run on, based on build type, name or flavor by using withBuildType, withName and withFlavor accordingly. The lambda onVariants and beforeVariants receives is executed after AGP computes variant combinations in afterEvaluate. Nesting properties inside onVariants is removed.Similar APIs are added to androidComponents to allow
2025-04-05