Better bundle updater implementation
This commit is contained in:
@@ -247,38 +247,38 @@ task pack(dependsOn: [classes, configurations.runtimeClasspath]){
|
||||
task genSprites(dependsOn: classes, type: JavaExec){
|
||||
finalizedBy 'antialiasGen'
|
||||
|
||||
main = "mindustry.tools.ImagePacker"
|
||||
mainClass = "mindustry.tools.ImagePacker"
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
standardInput = System.in
|
||||
workingDir = genFolder
|
||||
}
|
||||
|
||||
task updateBundles(dependsOn: classes, type: JavaExec){
|
||||
file(genFolder).mkdirs()
|
||||
|
||||
main = "mindustry.tools.BundleLauncher"
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
standardInput = System.in
|
||||
workingDir = "../core/assets/bundles/"
|
||||
}
|
||||
|
||||
task fontgen(dependsOn: classes, type: JavaExec){
|
||||
main = "mindustry.tools.FontGenerator"
|
||||
mainClass = "mindustry.tools.FontGenerator"
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
standardInput = System.in
|
||||
workingDir = "../"
|
||||
}
|
||||
|
||||
task icongen(dependsOn: classes, type: JavaExec){
|
||||
main = "mindustry.tools.IconConverter"
|
||||
mainClass = "mindustry.tools.IconConverter"
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
standardInput = System.in
|
||||
workingDir = "../core/assets-raw"
|
||||
}
|
||||
|
||||
task updateScripts(dependsOn: classes, type: JavaExec){
|
||||
main = "mindustry.tools.ScriptMainGenerator"
|
||||
mainClass = "mindustry.tools.ScriptMainGenerator"
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
standardInput = System.in
|
||||
workingDir = "../"
|
||||
}
|
||||
|
||||
task updateBundles(dependsOn: classes, type: JavaExec){
|
||||
file(genFolder).mkdirs()
|
||||
|
||||
mainClass = "mindustry.tools.BundleLauncher"
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
standardInput = System.in
|
||||
workingDir = "../core/assets/bundles/"
|
||||
}
|
||||
Reference in New Issue
Block a user