A toolchain for Minecraft: Java Edition that builds a workspace to interact with the game using the official mappings provided to the public by Mojang Studios.
MIT License
89
stars
18
forks
source link
Make sure decompile task only ever decompiles once #31
When a decompile task is run in a multi-project build in the same Gradle invocation that prepares the deobfuscated Minecraft jar, the decompile operation can be initiated multiple times, once for each project with VanillaGradle.
Because the MC artifact is produced in the same build, the cached result is considered out-of-date, so decompile will always produce a new artifact.
This probably needs some work in the up-to-date checking, or in how produceAssociatedArtifactsSync de-duplicates artifact requests.
When a decompile task is run in a multi-project build in the same Gradle invocation that prepares the deobfuscated Minecraft jar, the decompile operation can be initiated multiple times, once for each project with VanillaGradle.
Because the MC artifact is produced in the same build, the cached result is considered out-of-date, so decompile will always produce a new artifact.
This probably needs some work in the up-to-date checking, or in how
produceAssociatedArtifactsSync
de-duplicates artifact requests.