Files
kotlin-fork/libraries/tools/kotlin-gradle-plugin
Ivan Gavrilovic 2fce6a4af9 Locate build history when file is outside of root project dir
Support use-cases when the build dir is outside of root project dir.
Many projects set up output dir as <root_project>/../out/<project_name>/build
to be able to clean build dir more easily. This commit adds support
to build history file detection and it tries to find build history
files for artifacts that are:
- under root project dir (a default structure)
- under root project's build dir parent (to support typical custom setup)

Fixes https://youtrack.jetbrains.com/issue/KT-40875

Test: BaseIncrementalCompilationMultiProjectIT
2021-02-02 12:47:07 +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