mirror of
https://github.com/GTNewHorizons/Advanced-Botany.git
synced 2026-11-11 16:07:40 +00:00
23 lines
990 B
Groovy
23 lines
990 B
Groovy
dependencies {
|
|
api('com.github.GTNewHorizons:Botania:1.13.10-GTNH:dev') {
|
|
exclude module: 'Baubles'
|
|
}
|
|
api('com.github.GTNewHorizons:Botanic-horizons:1.12.3-GTNH:dev')
|
|
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
|
|
api('com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH:dev')
|
|
compileOnly("com.github.GTNewHorizons:CodeChickenCore:1.4.10:dev")
|
|
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.8.50-GTNH:dev")
|
|
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.4.2:dev")
|
|
}
|
|
|
|
// 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");
|
|
});
|