gradle / kotlin-dsl-samples

Samples builds using the Gradle Kotlin DSL
https://gradle.org/kotlin/
Other
3.71k stars 434 forks source link

Task `generateScriptPluginAdapters` from the `kotlin-dsl` plugin should maximise cacheability #1243

Closed bamboo closed 5 years ago

bamboo commented 6 years ago

Expected Behavior

The output of generateScriptPluginAdapters task can be cached and retrieved from the cache no matter where the project is located in the file system.

Current Behavior

Due to how inputs are captured, caching is sensitive to the location of the project in the file system:

48189487-a1fe2680-e340-11e8-9fb7-7c15fc43afc2