After the java file is modified, how to obtain the modified gradle incremental class file compiled, I want to find them and copy them to a folder,not all classes as long as the modified java file compiled;
i want to get a increment zip by this classes
i wrote below
compileJava {
doLast {
println outputs.getFiles().getFiles()
}
}
but get
:compileJava
[xxx\build\dependency-cache,xxx\build\classes\main]
BUILD SUCCESSFUL
Total time: 10.32 secs
I need help,thx