From 7a9b6cbe2ae97b2e408b9bd5577c5db02e4dde4b Mon Sep 17 00:00:00 2001 From: drori200 <32238971+drori200@users.noreply.github.com> Date: Sat, 10 Dec 2022 19:32:25 +0200 Subject: [PATCH] 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 --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4f728b1..606729a 100644 --- a/build.gradle +++ b/build.gradle @@ -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' } }