我只更改一个源文件并重新启动构建:
$ gradle jar
Incremental java compilation is an incubating feature.
:compileJava
Full recompilation is required because 'XXX.java' was changed.
Analysis took 0.241 secs.
我的gradle配置有:
compileJava {
options.fork = true
options.incremental = true
}
我希望 Gradle 只重新编译 XXX.java,这不是它应该做的吗?