fix gradle being painfully slow, but again

This commit is contained in:
yrsegal@gmail.com 2022-08-28 22:48:25 -04:00
parent a092047e33
commit c914f34942
2 changed files with 2 additions and 18 deletions

View file

@ -952,7 +952,7 @@
"hexcasting.page.blockworks.bonemeal": "Encourage a plant or sapling at the target position to grow, as if $(item)Bonemeal/$ was applied. Costs a bit more than one $(l:items/amethyst)$(item)Amethyst Dust/$.",
"hexcasting.page.blockworks.edify": "Forcibly infuse _media into the sapling at the target position, causing it to grow into an $(l:items/edified)$(thing)Edified Tree/$. Costs about one $(l:items/amethyst)$(item)Charged Amethyst/$.",
"hexcasting.page.blockworks.ignite": "Start a fire on top of the given location, as if a $(item)Fire Charge/$ was applied. Costs about one $(l:items/amethyst)$(item)Amethyst Dust/$.",
"hexcasting.page.blockworks.extinguish": "Extinguish blocks in a large area. Costs about six $(l:items/amethyst)$(item)Amethyst Dust/$.",
"hexcasting.page.blockworks.extinguish": "Extinguish blocks in a large area. Costs about six $(l:items/amethyst)$(item)Amethyst Dust/$s.",
"hexcasting.entry.nadirs": "Nadirs",
"hexcasting.page.nadirs.1": "This family of spells all impart a negative potion effect upon an entity. They all take an entity, the recipient, and one or two numbers, the first being the duration and the second, if present, being the potency (starting at 1).$(br2)Each one has a \"base cost;\" the actual cost is equal to that base cost, multiplied by the potency squared.",

View file

@ -156,6 +156,7 @@ dependencies {
}
mixin {
add project(":Common").sourceSets.main, "hexcasting.mixins.refmap.json"
add sourceSets.main, "hexcasting.mixins.refmap.json"
config "hexplat.mixins.json"
config "hexcasting_forge.mixins.json"
@ -171,23 +172,6 @@ compileTestKotlin {
source(project(":Common").sourceSets.main.kotlin)
}
// https://discord.com/channels/313125603924639766/733055378371117127/980968358658838540
// > It wint generate a refmap if there are jo changes source files
// > Since the last build
// > 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
build {
println "Forcing re-compile of Java to include refmap"
tasks.withType(JavaCompile) {
outputs.upToDateWhen { false }
}
compileKotlin {
outputs.upToDateWhen { false }
}
}
sourceSets {
main.resources.srcDirs += ['src/generated/resources', '../Common/src/generated/resources']
main.kotlin.srcDirs += 'src/main/java'