Skip to content

Commit a2fbff1

Browse files
committed
Disable up-to-date checks when creating start scripts. (#382)
Gradle would produce the following error on Windows (while Linux is not affected): "Cannot access input property 'classpath' of task ':metafix-runner:startScripts'. Accessing unreadable inputs or outputs is not supported. Declare the task as untracked by using Task.doNotTrackState(). For more information, please refer to https://docs.gradle.org/8.10.2/userguide/incremental_build.html#sec:disable-state-tracking in the Gradle documentation."
1 parent c8b280f commit a2fbff1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

metafix-runner/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@ application {
5252
startScripts {
5353
// See https://github.com/metafacture/metafacture-fix/issues/371
5454
classpath = files('*')
55+
doNotTrackState('Accessing unreadable inputs is not supported.')
5556
}
5657
}

0 commit comments

Comments
 (0)