summaryrefslogtreecommitdiffstats
path: root/assets/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'assets/build.gradle')
-rw-r--r--assets/build.gradle12
1 files changed, 12 insertions, 0 deletions
diff --git a/assets/build.gradle b/assets/build.gradle
index 808ae80..674c38a 100644
--- a/assets/build.gradle
+++ b/assets/build.gradle
@@ -30,6 +30,18 @@ task copySounds(type: Copy) {
into '../android/assets/sounds'
}
+task packUi(type: JavaExec) {
+ main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
+ classpath = configurations.texturePacker
+ args = ['../assets/ui', '../android/assets/data', 'ui']
+}
+
+task packMenu(type: JavaExec) {
+ main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
+ classpath = configurations.texturePacker
+ args = ['../assets/menu', '../android/assets/data', 'menu']
+}
+
task packHud(type: JavaExec) {
main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
classpath = configurations.texturePacker