I change only one source file and relaunch the build:
$ gradle jar
Incremental java compilation is an incubating feature.
:compileJava
Full recompilation is required because 'XXX.java' was changed.
Analysis took 0.241 secs.
My gradle configuration has:
compileJava {
options.fork = true
options.incremental = true
}
I would expect Gradle to only recompile XXX.java, is it not what it should do?