isto
08/26/2022, 5:56 AMtask buildZip(type: Zip) {
from compileJava
from processResources
into('lib') {
from configurations.runtime
}
}
into kotlin? There are many examples related to file copying but I have trouble finding info on how to refer to compileJava
and processResources
in ktsisto
08/26/2022, 6:01 AMtasks.register<Zip>("buildZip") {
// from(compileJava)
// from(processResources)
from(sourceSets.main.get().output)
into("lib") {
from(configurations.runtimeClasspath)
}
}
jendrik
08/26/2022, 7:33 AMtasks.compileJava
jendrik
08/26/2022, 7:36 AMjendrik
08/26/2022, 7:38 AM