-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathdependencies.gradle
More file actions
73 lines (60 loc) · 3.67 KB
/
dependencies.gradle
File metadata and controls
73 lines (60 loc) · 3.67 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
65
66
67
68
69
70
71
72
73
// Add your dependencies here
configurations {
shadowSources
jvmdgDowngraded17
}
def jvmDgVersion = "1.3.5"
dependencies {
shadowImplementation("it.unimi.dsi:fastutil:8.5.15") // Apache 2.0
shadowImplementation("org.joml:joml:1.10.8") { transitive = false } // MIT
shadowImplementation("com.mojang:brigadier:1.0.18") // MIT
shadowImplementation("xyz.wagyourtail.jvmdowngrader:jvmdowngrader-java-api:${jvmDgVersion}:downgraded-8") { transitive = false } // LGPL 2.1
jvmdgDowngraded17("xyz.wagyourtail.jvmdowngrader:jvmdowngrader-java-api:${jvmDgVersion}:downgraded-17") { transitive = false } // LGPL 2.1
shadowSources("it.unimi.dsi:fastutil:8.5.15:sources")
shadowSources("org.joml:joml:1.10.8:sources") { transitive = false }
shadowSources("com.mojang:brigadier:1.0.18")
testImplementation(platform("org.junit:junit-bom:5.11.4"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher") {
because("Only needed to run tests in a version of IntelliJ IDEA that bundles older versions")
}
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine")
compileOnly("com.github.GTNewHorizons:lwjgl3ify:3.0.15") { transitive = false }
compileOnly("com.gtnewhorizons.retrofuturabootstrap:RetroFuturaBootstrap:1.0.10") { transitive = false }
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.8.84-GTNH:dev") { transitive = false }
runtimeOnlyNonPublishable("com.github.GTNewHorizons:CodeChickenCore:1.4.12:dev") { transitive = false }
// Annotation things
compileOnly("com.github.GTNewHorizons:Angelica:2.1.15:dev") { transitive = false }
compileOnly('org.jetbrains:annotations:26.0.1')
compileOnly("org.projectlombok:lombok:1.18.36") {transitive = false }
annotationProcessor("org.projectlombok:lombok:1.18.36")
// For CapturingTesselator compat
compileOnly("com.falsepattern:falsetweaks-mc1.7.10:3.8.4:api")
compileOnly(rfg.deobf('curse.maven:minefactory-reloaded-66672:2366150')) { transitive = false }
compileOnly(rfg.deobf("curse.maven:cofh-core-69162:2388751")) { transitive = false }
compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") {transitive = false}
// devOnlyNonPublishable('com.github.GTNewHorizons:Baubles-Expanded:2.2.11-GTNH:dev') {transitive = false} // For testing Thaumcraft
// Replace Baubles with Baubles-Expanded for testing Thaumcraft
// project.getConfigurations().configureEach(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.11-GTNH"))
// .withClassifier("dev")
// .because("Baubles-Expanded replaces Baubles")
// })
afterEvaluate {
dependencies {
testImplementation(platform('org.junit:junit-bom:5.14.1'))
testImplementation('org.junit.jupiter:junit-jupiter')
testImplementation("org.mockito:mockito-core:3.+")
testImplementation("org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209")
// testAnnotationProcessor("com.github.GTNewHorizons:jabel-javac-plugin:1.0.2-GTNH") // Soon :tm:
testAnnotationProcessor("com.github.bsideup.jabel:jabel-javac-plugin:1.0.1")
testImplementation('org.junit.platform:junit-platform-engine')
testImplementation('org.junit.platform:junit-platform-reporting')
testImplementation('org.junit.platform:junit-platform-launcher')
}
}
}