Overwrite current ASM with a custom version. (#95)

* Update build.gradle

Fixes shading by using a custom version of ASM 5.0.3 that recognizes up to java 20.

* Update build.gradle

Note from where the ASM fork is pulled off
This commit is contained in:
drori200 authored and GitHub committed 2022-12-10 09:32:25 -08:00
1 parent 571d72e564
commit 7a9b6cbe2a
1 file changed
+3 -1
+3 -1
View File
@@ -31,7 +31,7 @@ buildscript {
url 'https://maven.minecraftforge.net'
}
maven {
// GTNH ForgeGradle Fork
// GTNH ForgeGradle and ASM Fork
name = "GTNH Maven"
url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
}
@@ -45,6 +45,8 @@ buildscript {
}
}
dependencies {
//Overwrite the current ASM version to fix shading newer than java 8 applicatations.
classpath 'org.ow2.asm:asm-debug-all-custom:5.0.3'
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2.11'
}
}