Files
kotlin-fork/libraries/tools/kotlin-gradle-plugin
Yahor Berdnikau 59f544cb7c [Gradle, Kapt] Don't immediately check if kaptClasspath dependencies are empty
Now sub-plugins are applied to compilation before users `afterEvaluate`
closure execution, which could lead to unexpected by the user state.
For example, when a user adds dependencies to 'kaptClasspath' in
'afterEvaluate'.

This fix removes check in Kapt plugin if dependencies are present on
'kaptClasspath' and moves it into KaptTask.onlyIf spec. So the task
will still have SKIPPED state if there are no AP provided.

^KT-63366 Fixed
2023-11-15 08:42:28 +00:00
..

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

Gradle Plugin Integration Tests

All Gradle plugins tests are located inside libraries/tools/kotlin-gradle-plugin-integration-tests module.