peytonplayz585-shadow-3.0/build.gradle

40 lines
771 B
Groovy
Raw Normal View History

2024-02-19 13:35:33 -08:00
plugins {
id 'java'
id 'eclipse'
id 'org.teavm' version '0.9.2'
2023-08-26 14:31:51 -07:00
}
sourceSets {
main {
java {
srcDir 'src/main/java'
srcDir 'src/teavm/java'
}
}
}
repositories {
mavenCentral()
}
dependencies {
2024-02-19 13:35:33 -08:00
teavm(teavm.libs.jso)
teavm(teavm.libs.jsoApis)
2023-08-26 14:31:51 -07:00
}
2024-02-19 13:35:33 -08:00
teavm.js {
obfuscated = true
sourceMap = true
targetFileName = "../classes.js"
optimization = org.teavm.gradle.api.OptimizationLevel.AGGRESSIVE;
outOfProcess = false
fastGlobalAnalysis = false
processMemory = 4048
entryPointName = 'main'
mainClass = 'net.lax1dude.eaglercraft.v1_8.internal.teavm.MainClass'
outputDir = file("javascript")
properties = null
sourceMap = true
debugInformation = false
2023-08-26 14:31:51 -07:00
}