summaryrefslogtreecommitdiffstats
path: root/assets/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'assets/build.gradle')
-rw-r--r--assets/build.gradle21
1 files changed, 17 insertions, 4 deletions
diff --git a/assets/build.gradle b/assets/build.gradle
index 674c38a..58843cf 100644
--- a/assets/build.gradle
+++ b/assets/build.gradle
@@ -48,16 +48,29 @@ task packHud(type: JavaExec) {
args = ['../assets/hud', '../android/assets/data', 'hud']
}
-task packUnits(type: JavaExec) {
+task packUnits0(type: JavaExec) {
+
+ main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
+ classpath = configurations.texturePacker
+ args = ['../assets/units0', '../android/assets/data', 'units0']
+}
+
+task packUnits1(type: JavaExec) {
+ main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
+ classpath = configurations.texturePacker
+ args = ['../assets/units1', '../android/assets/data', 'units1']
+}
+
+task packUnitOverlays0(type: JavaExec) {
main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
classpath = configurations.texturePacker
- args = ['../assets/units', '../android/assets/data', 'units']
+ args = ['../assets/unit-overlays0', '../android/assets/data', 'unit-overlays0']
}
-task packUnitOverlays(type: JavaExec) {
+task packUnitOverlays1(type: JavaExec) {
main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
classpath = configurations.texturePacker
- args = ['../assets/unit-overlays', '../android/assets/data', 'unit-overlays']
+ args = ['../assets/unit-overlays1', '../android/assets/data', 'unit-overlays1']
}
task packHexOverlays(type: JavaExec) {