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,7 +183,8 @@ sourceSets {
// > Gradle task execution avoidance breaks it that way // > 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 // > 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 // > It might have been compileJava
jar { build {
doFirst {
println "Forcing re-compile of Java to include refmap" println "Forcing re-compile of Java to include refmap"
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
outputs.upToDateWhen { false } outputs.upToDateWhen { false }
@ -192,6 +193,7 @@ jar {
outputs.upToDateWhen { false } outputs.upToDateWhen { false }
} }
} }
}
processResources { processResources {
from project(":Common").sourceSets.main.resources from project(":Common").sourceSets.main.resources