From 683b80b2ecde00c592c39e9a421a7e4079fa1819 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 10 Jun 2024 19:41:20 +0200 Subject: [PATCH] samples: remove unnecessary debug code --- samples/hello/build.gradle.kts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/samples/hello/build.gradle.kts b/samples/hello/build.gradle.kts index 948edeac8..ada8879e4 100644 --- a/samples/hello/build.gradle.kts +++ b/samples/hello/build.gradle.kts @@ -39,16 +39,6 @@ teavm.js { addedToWebApp = true mainClass = "org.teavm.samples.hello.Client" sourceMap = true + debugInformation = true sourceFilePolicy = SourceFilePolicy.LINK_LOCAL_FILES } - -tasks.register("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) -} \ No newline at end of file