peytonplayz585-a1.2.6/build.gradle

37 lines
662 B
Groovy
Raw Normal View History

2024-02-10 10:54:22 -08:00
plugins {
id "java"
id "war"
id "org.teavm" version "0.9.2"
}
repositories {
mavenCentral()
}
2024-02-09 07:53:34 -08:00
2024-02-10 10:54:22 -08:00
dependencies {
implementation teavm.libs.jsoApis
2024-02-09 07:53:34 -08:00
}
apply plugin: 'eclipse'
sourceSets {
main {
java {
srcDir 'src/main/java'
srcDir 'src/teavm/java'
2024-02-09 07:53:34 -08:00
}
}
}
2024-02-10 10:54:22 -08:00
teavm.js {
2024-02-16 08:13:55 -08:00
addedToWebApp = true;
2024-02-10 10:54:22 -08:00
mainClass = "net.lax1dude.eaglercraft.Client"
outputDir = file("web");
2024-02-16 08:13:55 -08:00
targetFileName = "app.js";
obfuscated = true;
2024-02-10 10:54:22 -08:00
sourceMap = true;
entryPointName = 'main';
properties = null;
optimization = org.teavm.gradle.api.OptimizationLevel.AGGRESSIVE;
processMemory = 512;
2024-02-09 07:53:34 -08:00
}