peytonplayz585-b1.7.3/build.gradle

38 lines
650 B
Groovy
Raw Permalink Normal View History

2024-06-10 17:34:13 -07:00
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 {
2024-09-08 08:21:36 -07:00
srcDir 'src/main/java'
srcDir 'src/teavm/java'
2024-06-10 17:34:13 -07:00
}
}
}
teavm.js {
addedToWebApp = true;
2024-08-26 03:03:35 -07:00
mainClass = "net.PeytonPlayz585.Client"
2024-06-10 17:34:13 -07:00
outputDir = file("web");
targetFileName = "app.js";
obfuscated = true;
sourceMap = true;
entryPointName = 'main';
properties = null;
optimization = org.teavm.gradle.api.OptimizationLevel.AGGRESSIVE;
processMemory = 512;
2024-08-26 03:03:35 -07:00
}