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"
|
version = "3.0"
|
||||||
group = "me.rigamortis"
|
group = "me.rigamortis"
|
||||||
archivesBaseName = "seppuku"
|
archivesBaseName = "seppuku"
|
||||||
|
def buildmode = "RELEASE"
|
||||||
|
|
||||||
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
|
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
|
||||||
compileJava {
|
compileJava {
|
||||||
|
@ -121,8 +122,10 @@ processResources {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
if (buildmode.equals("IDE")) {
|
||||||
main {
|
sourceSets {
|
||||||
output.resourcesDir = output.classesDir
|
main {
|
||||||
|
output.resourcesDir = output.classesDir
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue