Update build.gradle

This commit is contained in:
PeytonPlayz595 2023-07-14 09:50:10 -04:00
parent 704309f949
commit 79a8a130a3

View File

@ -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;
}
}