Update build.gradle
This commit is contained in:
parent
704309f949
commit
79a8a130a3
14
build.gradle
14
build.gradle
|
@ -18,7 +18,7 @@ targetCompatibility = 1.8
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main {
|
main {
|
||||||
java {
|
java {
|
||||||
srcDir 'src/main/java'
|
srcDir 'src/teavm/java'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,14 +28,8 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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-platform:0.6.1'
|
||||||
implementation('org.teavm:teavm-classlib: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 'com.jcraft:jzlib:1.1.3'
|
implementation 'com.jcraft:jzlib:1.1.3'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,7 +55,7 @@ teavm {
|
||||||
targetFileName = "app.js";
|
targetFileName = "app.js";
|
||||||
|
|
||||||
/** Which class holds your public static void main(Strin[] args) method */
|
/** 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. */
|
/** This will be the name of your main method after compilation. */
|
||||||
entryPointName = 'main';
|
entryPointName = 'main';
|
||||||
|
@ -85,4 +79,4 @@ teavm {
|
||||||
|
|
||||||
/** By default teavmc taskd epends on javaCompile task, unless this varaibale is true. */
|
/** By default teavmc taskd epends on javaCompile task, unless this varaibale is true. */
|
||||||
skipJavaCompile = false;
|
skipJavaCompile = false;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user