mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Gradle: don't copy teavmdbg file to WEB-INF directory
(return this when deobfuscation functionality is implemented)
This commit is contained in:
parent
0f8d36a080
commit
ddab106c5a
|
@ -173,12 +173,6 @@ public class TeaVMPlugin implements Plugin<Project> {
|
||||||
spec.from(project.files(outDir.map(dir -> new File(dir, relPath.get()))));
|
spec.from(project.files(outDir.map(dir -> new File(dir, relPath.get()))));
|
||||||
spec.setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE);
|
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) {
|
if (wasmAddedToWebApp) {
|
||||||
task.dependsOn(project.getTasks().named(WASM_TASK_NAME));
|
task.dependsOn(project.getTasks().named(WASM_TASK_NAME));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user