summaryrefslogtreecommitdiffstats
path: root/assets/build.gradle
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-08 23:41:44 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-08 23:41:44 +0100
commit88a0900bc5486da860580a108c2d13519573e85a (patch)
treef63ef03e79cd1f02b4f2000742a048334c8e84bb /assets/build.gradle
parent9865592546a0dc191f6669a50c63fc36ac6d6127 (diff)
downloadRustAndDust-88a0900bc5486da860580a108c2d13519573e85a.zip
RustAndDust-88a0900bc5486da860580a108c2d13519573e85a.tar.gz
Support 2 sets of pawns depending of Config.graphics
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) {