mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-22 02:07:26 +07:00
Fixed formatting
This commit is contained in:
parent
ac20cc98b9
commit
ff12375815
@ -27,26 +27,26 @@ run {
|
||||
setIgnoreExitValue(true)
|
||||
|
||||
// Required to run LWJGL3 java apps on MacOS
|
||||
if (OperatingSystem.current() == OperatingSystem.MAC_OS) {
|
||||
jvmArgs += "-XstartOnFirstThread"
|
||||
}
|
||||
if (OperatingSystem.current() == OperatingSystem.MAC_OS) {
|
||||
jvmArgs += "-XstartOnFirstThread"
|
||||
}
|
||||
}
|
||||
|
||||
jar {
|
||||
archiveBaseName = appName
|
||||
// These can be excluded because they add to the jar size but libGDX 1.9.11 can't use them.
|
||||
// If your libGDX version is 1.9.10 or earlier, or is 1.9.12-SNAPSHOT or later, you can leave
|
||||
// the following line commented; if you use 1.9.11 exactly, or if you use 1.9.12-SNAPSHOT but
|
||||
// don't need ARM Linux support, you can uncomment it safely.
|
||||
// It's always safe to keep that line commented out; it only affects JAR size.
|
||||
// exclude('linux/arm32/**', 'linux/arm64/**')
|
||||
dependsOn configurations.runtimeClasspath
|
||||
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
manifest {
|
||||
attributes 'Main-Class': application.mainClass
|
||||
}
|
||||
// These can be excluded because they add to the jar size but libGDX 1.9.11 can't use them.
|
||||
// If your libGDX version is 1.9.10 or earlier, or is 1.9.12-SNAPSHOT or later, you can leave
|
||||
// the following line commented; if you use 1.9.11 exactly, or if you use 1.9.12-SNAPSHOT but
|
||||
// don't need ARM Linux support, you can uncomment it safely.
|
||||
// It's always safe to keep that line commented out; it only affects JAR size.
|
||||
// exclude('linux/arm32/**', 'linux/arm64/**')
|
||||
dependsOn configurations.runtimeClasspath
|
||||
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
manifest {
|
||||
attributes 'Main-Class': application.mainClass
|
||||
}
|
||||
|
||||
doLast {
|
||||
file(archiveFile).setExecutable(true, false)
|
||||
}
|
||||
doLast {
|
||||
file(archiveFile).setExecutable(true, false)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user