ok I actually 100% for sure got gradle faster now

This commit is contained in:
yrsegal@gmail.com 2022-08-29 17:39:43 -04:00
parent 9aa3019571
commit 73596a244e

View file

@ -183,13 +183,15 @@ sourceSets {
// > Gradle task execution avoidance breaks it that way
// > At one point i got it to work reliably bu forcing some specific task to always run i just don't remember the syntax and which task it was
// > It might have been compileJava
jar {
println "Forcing re-compile of Java to include refmap"
tasks.withType(JavaCompile) {
outputs.upToDateWhen { false }
}
compileKotlin {
outputs.upToDateWhen { false }
build {
doFirst {
println "Forcing re-compile of Java to include refmap"
tasks.withType(JavaCompile) {
outputs.upToDateWhen { false }
}
compileKotlin {
outputs.upToDateWhen { false }
}
}
}