samples: remove unnecessary debug code

This commit is contained in:
Alexey Andreev 2024-06-10 19:41:20 +02:00
parent 5d237a98ae
commit 683b80b2ec

View File

@ -39,16 +39,6 @@ teavm.js {
addedToWebApp = true addedToWebApp = true
mainClass = "org.teavm.samples.hello.Client" mainClass = "org.teavm.samples.hello.Client"
sourceMap = true sourceMap = true
debugInformation = true
sourceFilePolicy = SourceFilePolicy.LINK_LOCAL_FILES sourceFilePolicy = SourceFilePolicy.LINK_LOCAL_FILES
} }
tasks.register<JavaExec>("runCli") {
classpath(configurations["teavmCli"])
mainClass = "org.teavm.cli.devserver.TeaVMDevServerRunner"
args = listOf("--json-interface", "--no-watch", "-p",
layout.buildDirectory.dir("classes/java/teavm").get().asFile.absolutePath,
) + configurations["teavmClasslib"].flatMap { listOf("-p", it.absolutePath) } + listOf(
"--", "org.teavm.samples.hello.Client"
)
println(args)
}