forked from RepoMirrors/seppuku
fix build.gradle, change build mode to IDE for debugging
This commit is contained in:
parent
f953ea82d4
commit
888f6bd2e9
|
@ -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 {
|
|||
}
|
||||
}
|
||||
|
||||
if (buildmode.equals("IDE")) {
|
||||
sourceSets {
|
||||
main {
|
||||
output.resourcesDir = output.classesDir
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue