Merge pull request #128 from Lucki/patch-1

Make the XDG-option available from command line with Gradle
This commit is contained in:
Jeffrey Han 2015-08-29 09:28:28 -05:00
commit 331865c437

View File

@ -13,6 +13,9 @@ mainClassName = 'itdelatrisu.opsu.Opsu'
buildDir = new File(rootProject.projectDir, "build/")
def useXDG = 'false'
if(hasProperty('XDG')) {
useXDG = XDG
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
@ -103,4 +106,4 @@ jar {
run {
dependsOn 'unpackNatives'
}
}