From b425ac5559bca2a0e8a2ec8918461c5e592b1503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 19 Sep 2014 15:39:28 +0200 Subject: build.gradle: add packs task --- build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle b/build.gradle index 9d83f1c..ecb74f1 100644 --- a/build.gradle +++ b/build.gradle @@ -7,12 +7,14 @@ buildscript { classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.5' classpath 'com.android.tools.build:gradle:0.10+' classpath 'com.github.jtakakura:gradle-robovm-plugin:0.0.10' + classpath 'com.eowise:packer:0.5.0' } } allprojects { apply plugin: "eclipse" apply plugin: "idea" + apply plugin: 'packer' version = '1.0' ext { @@ -31,6 +33,15 @@ allprojects { options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } } + + task packs(type: com.eowise.packer.Packer) { + resourcesInputPath 'data' + atlasesOutputPath 'android/assets/images/' + atlases { + add 'us' + add 'ge' + } + } } project(":desktop") { -- cgit v1.1-2-g2b99