You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.
Using the following Groovy build script:
The
:emptyJar
task is run only once, further invocations of the task reportUP-TO-DATE
.When I write the same thing using a Kotlin build script:
The JAR is always re-built because Gradle detects the task as out-of-date. If I enable debug logging it shows the following:
I think adding a custom task action using a Kotlin build script should behave similar to Groovy without affecting the up-to-date check.
Tested with gradle-script-kotlin-3.5-20170207151802+0000
The text was updated successfully, but these errors were encountered: