Files
GTNHLib/dependencies.gradle

64 lines
3.1 KiB
Groovy

// 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.5") { transitive = false }
compileOnly("com.gtnewhorizons.retrofuturabootstrap:RetroFuturaBootstrap:1.0.10") { transitive = false }
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.8.48-GTNH:dev") { transitive = false }
runtimeOnlyNonPublishable("com.github.GTNewHorizons:CodeChickenCore:1.4.10:dev") { transitive = false }
// Annotation things
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta68a: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}
// compileOnly('com.github.GTNewHorizons:Baubles-Expanded:2.2.2-GTNH:dev') // For testing Thaumcraft
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')
}
}
}