Files
kotlin-fork/libraries/tools/kotlin-gradle-plugin
Alexey Tsvetkov cb549cba00 Create kapt configurations before gradle script is evaluated
We cannot create kapt configurations in `KotlinGradleSubplugin.apply`,
because `apply` is invoked after a script is evaluated, so user cannot
refer to kapt configurations in script.

We cannot call `apply` before script's evaluation, because
then we might not be able to determine
if a Gradle plugin corresponding to a subplugin is appled.
For example in case of the following script:
```
apply plugin: "kotlin"
apply plugin: "kotlin-kapt"
```
subplugin's apply will exit early because Gradle plugin "kotlin-kapt"
is not applied yet, when "kotlin"'s apply is evaluated.
2018-05-30 20:24:11 +03:00
..
2017-09-20 11:51:29 +02:00
2013-06-03 17:47:36 +04:00
2018-02-06 21:17:57 +03:00
2018-02-14 16:23:08 +03: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

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