From 21d4f399272770f261addb7ae447dbfdaebac6da Mon Sep 17 00:00:00 2001 From: LAX1DUDE Date: Sun, 13 Feb 2022 14:37:43 -0800 Subject: [PATCH] fix build script --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index b4b6882..a099e0a 100644 --- a/build.gradle +++ b/build.gradle @@ -37,11 +37,11 @@ dependencies { teavm { compileScopes = null; - minifying = false; + minifying = true; maxTopLevelNames = 10000; properties = null; debugInformationGenerated = false; - sourceMapsGenerated = false; + sourceMapsGenerated = true; sourceFilesCopied = false; incremental = false; transformers = null; @@ -50,7 +50,7 @@ teavm { targetDirectory = file("javascript"); /** The directory to monitor to decide if compile is up-to-date or not */ - //sourceDirectory = [file("src/main/java"),file("../minecrafthtml5mcp/src")]; + sourceDirectory = file("src"); /** How to name the result file. */ targetFileName = "classes.js";