peytonplayz585-a1.2.6/build.gradle
2024-10-14 18:27:21 -04:00

37 lines
654 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'
srcDir 'src/teavm/java'
}
}
}
teavm.js {
addedToWebApp = true;
mainClass = "net.PeytonPlayz585.Client"
outputDir = file("web");
targetFileName = "app.js";
obfuscated = true;
sourceMap = true;
entryPointName = 'main';
properties = null;
optimization = org.teavm.gradle.api.OptimizationLevel.BALANCED;
processMemory = 512;
}