From 888f6bd2e9edd5ebb9ec4f3d49c5bd306d902395 Mon Sep 17 00:00:00 2001 From: noil Date: Wed, 6 Nov 2019 20:58:21 -0500 Subject: [PATCH] fix build.gradle, change build mode to IDE for debugging --- build.gradle | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index cc03e35..1cd2448 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,7 @@ apply plugin: "com.github.johnrengelman.shadow" version = "3.0" group = "me.rigamortis" archivesBaseName = "seppuku" +def buildmode = "RELEASE" sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. compileJava { @@ -121,8 +122,10 @@ processResources { } } -sourceSets { - main { - output.resourcesDir = output.classesDir +if (buildmode.equals("IDE")) { + sourceSets { + main { + output.resourcesDir = output.classesDir + } } }