EaglerForge/sources/setup/workspace_template/build.gradle

40 lines
769 B
Groovy
Raw Normal View History

plugins {
id 'java'
id 'eclipse'
2024-05-16 12:53:16 -05:00
id 'org.teavm' version '0.9.3'
}
sourceSets {
main {
java {
srcDir 'src/main/java'
srcDir 'src/teavm/java'
}
}
}
repositories {
mavenCentral()
}
dependencies {
teavm(teavm.libs.jso)
teavm(teavm.libs.jsoApis)
}
teavm.js {
2024-03-08 05:57:27 -06:00
obfuscated = true
sourceMap = true
targetFileName = "../classes.js"
2024-03-08 05:57:27 -06:00
optimization = org.teavm.gradle.api.OptimizationLevel.AGGRESSIVE
outOfProcess = false
fastGlobalAnalysis = false
processMemory = 512
entryPointName = 'main'
mainClass = 'net.lax1dude.eaglercraft.v1_8.internal.teavm.MainClass'
outputDir = file("javascript")
properties = null
sourceMap = true
debugInformation = false
}