// Add your dependencies here dependencies { api("com.github.GTNewHorizons:GTNHLib:0.9.41:dev") api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') api('com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH:dev') api("com.github.GTNewHorizons:GTNHLib:0.9.31:dev") compileOnly('com.github.GTNewHorizons:BloodMagic:1.8.12:dev') compileOnly('com.github.GTNewHorizons:Botania:1.13.15-GTNH:api') compileOnly("com.github.GTNewHorizons:AppleCore:3.3.9:dev") compileOnly('curse.maven:ee3-65509:2305023') // deps may transitively add Baubles, so we replace it project.getConfigurations() .all(c -> { final DependencySubstitutions ds = c.getResolutionStrategy() .getDependencySubstitution(); ds.substitute(ds.module("com.github.GTNewHorizons:Baubles")) .using(ds.module("com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH")) .withClassifier("dev") .because("Baubles-Expanded replaces Baubles"); }); }