fix build.gradle, change build mode to IDE for debugging

This commit is contained in:
noil 2019-11-06 20:58:21 -05:00
parent f953ea82d4
commit 888f6bd2e9
1 changed files with 6 additions and 3 deletions

View File

@ -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
}
}
}