I have a couple tasks that I’m trying to set up as incremental using inputs and outputs. Following a clean, the task runs as expected, and produces the correct output. When I run it a second time using the -i flag it runs again, this time saying it’s due to “class path has changed from” with two hash strings.
This seems to be coming from TaskTypeTaskStateChanges, specifically
taskClassLoaderHash.equals(previousExecution.getTaskClassLoaderHash(), but it’s not clear to me what’s changing about my classloader/class path that would cause this.
When it runs the third time, it correctly says it’s up-to-date. Any thoughts?