From 79a8a130a3ac046283d0b393830dc75901c53aae Mon Sep 17 00:00:00 2001 From: PeytonPlayz595 <106421860+PeytonPlayz595@users.noreply.github.com> Date: Fri, 14 Jul 2023 09:50:10 -0400 Subject: [PATCH] Update build.gradle --- build.gradle | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index a8e25b9..673f0b4 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ targetCompatibility = 1.8 sourceSets { main { java { - srcDir 'src/main/java' + srcDir 'src/teavm/java' } } } @@ -28,14 +28,8 @@ repositories { } dependencies { - /** we use 0.6.1 due to performance issues on 7.0.0 */ implementation 'org.teavm:teavm-platform:0.6.1' - implementation('org.teavm:teavm-classlib:0.6.1') { - exclude group: 'com.google.code.gson', module: 'gson' - } - implementation 'org.teavm:teavm-interop:0.6.1' - implementation 'org.teavm:teavm-jso:0.6.1' - implementation 'org.teavm:teavm-jso-apis:0.6.1' + implementation 'org.teavm:teavm-classlib:0.6.1' implementation 'com.jcraft:jzlib:1.1.3' } @@ -61,7 +55,7 @@ teavm { targetFileName = "app.js"; /** Which class holds your public static void main(Strin[] args) method */ - mainClass = 'net.PeytonPlayz585.main.MinecraftMain'; + mainClass = 'net.lax1dude.eaglercraft.Client'; /** This will be the name of your main method after compilation. */ entryPointName = 'main'; @@ -85,4 +79,4 @@ teavm { /** By default teavmc taskd epends on javaCompile task, unless this varaibale is true. */ skipJavaCompile = false; -} +} \ No newline at end of file