Slackbot
12/15/2022, 5:54 PMEric Haag
12/15/2022, 6:00 PMcreateFooFile
2. Non-cacheable printFooFile
that depends on createFooFile
Jakub Chrzanowski
12/15/2022, 6:08 PMoutputs.upToDateWhen { false }
Eric Haag
12/15/2022, 6:15 PMEric Haag
12/15/2022, 6:17 PMprint
task you should not have to explicitly disable build caching or incremental building. The print
task should not have an output defined and those features will be disabled by default.Vampire
12/15/2022, 6:19 PM@UntrackedTask
or doNotTrackState()
🙂
Btw. your question should probably have gone to #CA83B1VLL, as it has nothing to do with configuration cache. 😉Jakub Chrzanowski
12/15/2022, 6:30 PMJakub Chrzanowski
12/15/2022, 6:35 PMrunIde
task which runs guest IDE instance, and that's something should be invoked everytime, it should be annotated with @UntrackedTask
right?Eric Haag
12/15/2022, 6:40 PM@UntrackedTask
is a newer annotation but I believe that is a valid use case. See the JavaDoc.Jakub Chrzanowski
12/15/2022, 6:41 PMVampire
12/15/2022, 6:48 PMrunIde
task?
If you have neither, @UntrackedTask
will just be a noop, as there is nothing to track anyway.Vampire
12/15/2022, 6:48 PMJakub Chrzanowski
12/15/2022, 7:12 PMVampire
12/15/2022, 7:42 PM