forked from GTNewHorizons/NewHorizonsCoreMod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdependencies.gradle
More file actions
64 lines (55 loc) · 3.74 KB
/
dependencies.gradle
File metadata and controls
64 lines (55 loc) · 3.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Add your dependencies here
dependencies {
api("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.179:dev")
api("com.github.GTNewHorizons:Yamcl:0.7.3:dev")
api("com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH:dev")
implementation("com.github.GTNewHorizons:GTNHLib:0.8.41:dev")
implementation("net.glease:tc4recipelib:1.5.37:dev")
compileOnly("com.github.GTNewHorizons:AkashicTome:1.2.6:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:Avaritia:1.78:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:Irontanks:1.4.2:dev") { transitive = false }
compileOnly("secondderivative.irontankminecarts:IronTankMinecarts:1.0.5:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:twilightforest:2.7.13:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:Mantle:0.5.1:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:TinkersConstruct:1.14.17-GTNH:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:WitcheryExtras:1.4.7:dev") { transitive = false }
compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") { transitive = false }
compileOnly rfg.deobf("curse.maven:witchery-69673:2234410")
compileOnly("com.github.GTNewHorizons:Chisel:2.17.9-GTNH:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:Botania:1.13.6-GTNH:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:BloodMagic:1.8.7:dev") { transitive = false }
compileOnly rfg.deobf("curse.maven:extra-utilities-225561:2264384")
compileOnly("TGregworks:TGregworks:1.7.10-GTNH-1.0.26:deobf") { transitive = false }
compileOnly("com.github.GTNewHorizons:amunra:0.8.2:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:Galacticraft:3.4.14-GTNH:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.11.4:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:MatterManipulator:0.1.6-GTNH:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:IguanaTweaksTConstruct:2.7.0:dev") { transitive = false }
compileOnlyApi("com.github.GTNewHorizons:Mobs-Info:0.5.9-GTNH:dev")
compileOnly("com.github.GTNewHorizons:Backhand:1.8.2:dev") { transitive = false }
compileOnly("com.cubefury.vendingmachine:VendingMachine:0.4.2:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:BetterQuesting:3.8.14-GTNH:dev") { transitive = false }
//compileOnly("com.github.Roadhog360:Et-Futurum-Requiem:2.6.2:dev") { transitive = false }
runtimeOnlyNonPublishable rfg.deobf("curse.maven:biomes-o-plenty-220318:2499612")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.3.4-GTNH:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:Galacticraft:3.4.14-GTNH:dev")
// Core unit testing platform
testImplementation(platform('org.junit:junit-bom:5.9.2'))
testImplementation('org.junit.jupiter:junit-jupiter')
testImplementation('org.junit.platform:junit-platform-engine')
testImplementation('org.junit.platform:junit-platform-launcher')
// Extra unit testing libraries
testImplementation('org.assertj:assertj-core:3.+')
testImplementation('org.mockito:mockito-core:5.+')
testImplementation('org.mockito:mockito-junit-jupiter:5.+')
}
// 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");
});