Open LemADEC opened 4 years ago
The "deobf." one is the one that setupDecompWorkspace creates. You need to run it again every time a "deobfCompile" dependency changes.
gradlew setupDecompWorkspace
executes successfully, but the build still fails.
I've tried the clean
task and purging the temporary build folders, but it still fails to find those files.
I've found a workaround by removing the reference to EnderIO, then running setupDecompWorkspace
to fill my local cache with EnderCore, then adding back the EnderIO reference, then running another setupDecompWorkspace
, then I can build my project...
Depending on both EC and EIO should fix the problem. Set EIO to transitive = false
too.
They were both declared as dependency, with EnderCore first, like so:
provided "com.enderio.core:EnderCore:${mc_version}-${endercore_version}:core"
provided "com.enderio:EnderIO:${mc_version}-${enderio_version}"
provided "info.loenwind.autoconfig:AutoConfig:${mc_version}-1.0.2"
//Given we are only compiling EnderCore we also need a reference to auto save
provided "info.loenwind.autosave:AutoSave:${mc_version}-1.0.10"
It decided to go deobf for some reason, so I've changed it to deobCompile which fails without setting transitive to false on EnderIO. I've removed the apparently useless references to AutoConfig and AutoSave. This give this updated version which still works after clearing repository and gradle caches:
deobfCompile "com.enderio.core:EnderCore:${mc_version}-${endercore_version}:core"
deobfCompile("com.enderio:EnderIO:${mc_version}-${enderio_version}") {
transitive = false
}
Thanks for the help!
Since a few days, I can no longer compile with dependencies on EnderCore with gradle as Maven can't find the deobf for EnderCore. Gradle 4.10.2 ForgeGradle 2.3