mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 20:48:33 +07:00
????
This commit is contained in:
parent
0c3e110326
commit
fc68a8af19
@ -116,6 +116,14 @@ android{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!project.ext.hasSprites()){
|
||||
println "Scheduling sprite pack."
|
||||
run.dependsOn ":tools:pack"
|
||||
deploy.dependsOn ":tools:pack"
|
||||
assembleDebug.dependsOn ":tools:pack"
|
||||
assembleRelease.dependsOn ":tools:pack"
|
||||
}
|
||||
}
|
||||
// called every time gradle gets executed, takes the native dependencies of
|
||||
// the natives configuration, and extracts them to the proper libs/ folders
|
||||
@ -151,11 +159,3 @@ task run(type: Exec){
|
||||
def adb = path + "/platform-tools/adb"
|
||||
commandLine "$adb", 'shell', 'am', 'start', '-n', 'io.anuke.mindustry/mindustry.android.AndroidLauncher'
|
||||
}
|
||||
|
||||
if(!project.ext.hasSprites()){
|
||||
println "Scheduling sprite pack."
|
||||
run.dependsOn ":tools:pack"
|
||||
deploy.dependsOn ":tools:pack"
|
||||
assembleDebug.dependsOn ":tools:pack"
|
||||
assembleRelease.dependsOn ":tools:pack"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user