bb53a1c3d2
New API for getting the JavaCompile task has been added to AGP, and the old one is deprecated. It is now returning TaskProvider<JavaCompile>, which allows API users to avoid configuring tasks unnecessarily. This commit does not change anything functionally, it is only to avoid the warning message, as reporter in https://issuetracker.google.com/116198439.
Gradle Plugin
The Gradle plugin sources can be found in this (kotlin-gradle-plugin) module.
To install the Gradle plugin into the local Maven repository, run this command from the root of Kotlin project:
./gradlew :kotlin-gradle-plugin:install
The subplugin modules are :kotlin-allopen, :kotlin-noarg, :kotlin-sam-with-receiver. To install them, run:
./gradlew :kotlin-allopen:install :kotlin-noarg:install :kotlin-sam-with-receiver:install
To find more details about the plugins provided by this artifact and their tasks refer to Module.md.
Gradle Plugin Integration Tests
See the module libraries/tools/kotlin-gradle-plugin-integration-tests