ok I actually 100% for sure got gradle faster now
This commit is contained in:
parent
9aa3019571
commit
73596a244e
1 changed files with 9 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue