From ddab106c5af2346e30f942b9da6baf9459f770c7 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 6 Mar 2023 11:42:21 +0100 Subject: [PATCH] Gradle: don't copy teavmdbg file to WEB-INF directory (return this when deobfuscation functionality is implemented) --- .../gradle/src/main/java/org/teavm/gradle/TeaVMPlugin.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/gradle/src/main/java/org/teavm/gradle/TeaVMPlugin.java b/tools/gradle/src/main/java/org/teavm/gradle/TeaVMPlugin.java index 15d443fc9..119e86dbd 100644 --- a/tools/gradle/src/main/java/org/teavm/gradle/TeaVMPlugin.java +++ b/tools/gradle/src/main/java/org/teavm/gradle/TeaVMPlugin.java @@ -173,12 +173,6 @@ public class TeaVMPlugin implements Plugin { spec.from(project.files(outDir.map(dir -> new File(dir, relPath.get())))); spec.setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE); })); - task.with(project.copySpec(spec -> { - spec.into(relPath.map(path -> joinPath("WEB-INF", path))); - spec.include("*.teavmdbg"); - spec.from(project.files(outDir.map(dir -> new File(dir, relPath.get())))); - spec.setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE); - })); } if (wasmAddedToWebApp) { task.dependsOn(project.getTasks().named(WASM_TASK_NAME));