我只更改了一个源文件并重新启动构建:
$ 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,这不是应该做的吗?