peytonplayz585-a1.2.6/build.gradle
PeytonPlayz595 d6dabddd51 TeaVM 0.9.2
2024-02-10 13:54:22 -05:00

36 lines
625 B
Groovy

plugins {
id "java"
id "war"
id "org.teavm" version "0.9.2"
}
repositories {
mavenCentral()
}
dependencies {
implementation teavm.libs.jsoApis
}
apply plugin: 'eclipse'
sourceSets {
main {
java {
srcDir 'src/main/java'
}
}
}
teavm.js {
addedToWebApp = true
mainClass = "net.lax1dude.eaglercraft.Client"
outputDir = file("web");
targetFileName = "app.js"
obfuscated = false;
sourceMap = true;
entryPointName = 'main';
properties = null;
optimization = org.teavm.gradle.api.OptimizationLevel.AGGRESSIVE;
processMemory = 512;
}