Files
lwjgl3ify/dependencies.gradle
T

64 lines
2.7 KiB
Groovy

minecraft {
lwjglVersion.set("3.3.1")
}
def addGtForTesting = false
def addReikaModsForTesting = false
dependencies {
// Resolve newer versions of LaunchWrapper to allow java 9+ compat
vanilla_minecraft('net.minecraft:launchwrapper:1.15') { transitive = false }
patchedMinecraft('net.minecraft:launchwrapper:1.15') { transitive = false }
patchedMinecraft('org.ow2.asm:asm:9.4')
patchedMinecraft('org.ow2.asm:asm-commons:9.4')
patchedMinecraft('org.ow2.asm:asm-tree:9.4')
patchedMinecraft('org.ow2.asm:asm-analysis:9.4')
patchedMinecraft('org.ow2.asm:asm-util:9.4')
patchedMinecraft('org.ow2.asm:asm-deprecated:7.1')
// Allow using Unsafe with newer javac versions
patchedMinecraft('me.eigenraven.java8unsupported:java-8-unsupported-shim:1.0.0')
shadowImplementation("jakarta.xml.bind:jakarta.xml.bind-api:3.0.1")
shadowImplementation("com.sun.xml.bind:jaxb-impl:3.0.2")
shadowImplementation("org.mozilla:rhino-engine:1.7.14")
annotationProcessor('com.gtnewhorizon:gtnhmixins:2.1.12:processor')
implementation('com.gtnewhorizon:gtnhmixins:2.1.12')
if (addGtForTesting) {
runtimeOnly('com.github.GTNewHorizons:NotEnoughItems:2.3.27-GTNH:dev')
runtimeOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.41.265:dev')
runtimeOnly("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-153-GTNH:dev")
runtimeOnly("com.github.GTNewHorizons:Chisel:2.10.16-GTNH:dev")
runtimeOnly("com.github.GTNewHorizons:ForestryMC:4.5.6:dev")
runtimeOnly("com.github.GTNewHorizons:Railcraft:9.13.14:dev")
runtimeOnly("com.github.GTNewHorizons:EnderIO:2.3.1.54:dev")
runtimeOnly("com.github.GTNewHorizons:ProjectRed:4.7.9-GTNH:dev") { transitive = false }
runtimeOnly("com.github.GTNewHorizons:MrTJPCore:1.1.4:dev")
runtimeOnly("com.github.GTNewHorizons:ForgeMultipart:1.3.1:dev")
runtimeOnly("com.github.GTNewHorizons:ForgeRelocation:0.0.3:dev")
reobfJarConfiguration group: 'curse.maven', name: 'cofh-core-69162', version: '2388750'
runtimeOnly("com.github.GTNewHorizons:AppleCore:3.2.9:dev")
runtimeOnly("com.github.GTNewHorizons:Hodgepodge:2.0.28:dev")
}
if (addReikaModsForTesting) {
// DragonAPI
reobfJarConfiguration('curse.maven:dragon-api-235591:3574508')
// Chromaticraft
reobfJarConfiguration('curse.maven:chromaticraft-235590:3574503')
}
// Just enough calculation
reobfJarConfiguration('curse.maven:jec-242223:4192990')
}
minecraft {
groupsToExcludeFromAutoReobfMapping.add('curse.maven')
}
configurations.patchedMinecraft {
exclude group: 'org.ow2.asm', module: 'asm-debug-all'
}