diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-19 15:39:28 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-19 15:39:28 +0200 |
commit | b425ac5559bca2a0e8a2ec8918461c5e592b1503 (patch) | |
tree | 6c569ba654daf78275bdc035d61ce1cf7f80df31 | |
parent | 9d3f9bb6d1d69a062df94aaceef98c1954efdd97 (diff) | |
download | RustAndDust-b425ac5559bca2a0e8a2ec8918461c5e592b1503.zip RustAndDust-b425ac5559bca2a0e8a2ec8918461c5e592b1503.tar.gz |
build.gradle: add packs task
-rw-r--r-- | build.gradle | 11 |
1 files changed, 11 insertions, 0 deletions
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") { |