repositories { mavenLocal() } def tdlmDependencyVersion = { String artifact, String fallback -> project.findProperty('tdlm.dependency.' + artifact.toLowerCase() + '.version') ?: fallback } dependencies { // Thaumcraft 4 full dev jar (api + common impl; the sources import thaumcraft.common.* and thaumcraft.client.*) api("uk.potatolab:Thaumcraft4:${tdlmDependencyVersion('Thaumcraft4', '1.7.10-4.2.3.5-d3ece2a')}") // cofh.api.energy.IEnergyReceiver is used by TileThaumicGenerator (the CoFH API lives in CoFHLib, not CoFHCore) compileOnly("uk.potatolab:CoFHLib-1.7.10-Legacy:${tdlmDependencyVersion('CoFHLib-1.7.10-Legacy', '1.7.10R3.0.3-6ab2b0e')}") // Botania API (com.pengu.thaumcraft.additions.api.others.Botania) compileOnly("uk.potatolab:Botania:${tdlmDependencyVersion('Botania', '1.13.36-GTNH-722cecf')}:dev") { transitive = false } // Waila API (com.pengu.thaumcraft.additions.api.others.WAILA) compileOnly("uk.potatolab:Waila:${tdlmDependencyVersion('Waila', '1.19.30-5462a91')}:api") { transitive = false } // Baubles is required at runtime (see the @Mod dependencies string); no compile-time import runtimeOnly("uk.potatolab:Baubles-Expanded:${tdlmDependencyVersion('Baubles-Expanded', '44bd380')}") }