Moved music control

This commit is contained in:
Anuken
2019-08-01 10:37:04 -04:00
parent dafbba0907
commit 8393639735
4 changed files with 10 additions and 9 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ project.ext.assetsDir = new File("../core/assets")
def IKVM_DIR = System.env.IKVM_HOME
def getTarget = { return project.hasProperty("target") ? project.properties["target"] : "windows" }
task run(dependsOn: classes, type: JavaExec) {
task run(dependsOn: classes, type: JavaExec){
main = project.mainClassName
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
@@ -29,7 +29,7 @@ task run(dependsOn: classes, type: JavaExec) {
}
}
task dist(type: Jar, dependsOn: classes) {
task dist(type: Jar, dependsOn: classes){
from files(sourceSets.main.output.classesDirs)
from files(sourceSets.main.output.resourcesDir)
from {configurations.compile.collect {zipTree(it)}}
@@ -45,7 +45,7 @@ task dist(type: Jar, dependsOn: classes) {
if(target == "linux") exclude('**.dll', "**.dylib")
archivesBaseName = appName + "-" + target
manifest {
manifest{
attributes 'Main-Class': project.mainClassName
}
}