I have implemented a custom incremental task action by copying this guide:
https://docs.gradle.org/current/userguide/custom_tasks.html (example 6.)
However, when I run it, it always prints “Executing non-incrementally” and lists all files as changed even if only one of them changed in fact.
How can I get it to print “‘Executing incrementally’” and process only the files that are actually updated/changed?
Here is my code: https://gist.github.com/patrikturi/e7443ef79c74d1f4c42378dc3fe83868