Skip to content

Commit

Permalink
Force ASM to 6.0 for all dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Sep 9, 2019
1 parent 5ce6d6f commit 6084129
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ configurations {
deployerJars
shade
compileOnly.extendsFrom shade
all {
resolutionStrategy {
force 'org.ow2.asm:asm-commons:6.0'
force 'org.ow2.asm:asm-tree:6.0'
force 'org.ow2.asm:asm:6.0'
}
}
}

dependencies {
Expand Down Expand Up @@ -87,21 +94,21 @@ dependencies {
// mcp stuff
shade 'de.oceanlabs.mcp:RetroGuard:3.6.6'
shade('de.oceanlabs.mcp:mcinjector:3.4-SNAPSHOT'){
exclude group: 'org.ow2.asm', module: 'asm-debug-all'
exclude group: 'org.ow2.asm'
}
shade('net.minecraftforge:Srg2Source:5.0.+'){
exclude group: 'org.ow2.asm', module: 'asm-debug-all'
exclude group: 'org.ow2.asm'
exclude group: 'org.eclipse.equinox', module: 'org.eclipse.equinox.common'
exclude group: 'cpw.mods', module: 'modlauncher'
}

//Stuff used in the GradleStart classes
compileOnly 'com.mojang:authlib:1.5.16'
compileOnly('net.minecraft:launchwrapper:1.11'){
exclude group: 'org.ow2.asm', module: 'asm-debug-all'
exclude group: 'org.ow2.asm'
}

compileOnly "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.3-2"
compileOnly 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.3-2'
testCompile 'junit:junit:4.12'
}

Expand Down

0 comments on commit 6084129

Please sign in to comment.