7c360c0068
For large projects, incremental comilation mapping information may be quite large. With configuration caching enabled, each task gets its own copy of that state, and for a project with 1400 subprojects, this resulted in 3.6GB of additional state stored (once task graph is cached). This change introduces IncrementalModuleInfoProvider which allows build service to be used if configuration caching is enabled, and it falls back to static constant otherwise.
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