summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-19 15:39:28 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-19 15:39:28 +0200
commitb425ac5559bca2a0e8a2ec8918461c5e592b1503 (patch)
tree6c569ba654daf78275bdc035d61ce1cf7f80df31 /build.gradle
parent9d3f9bb6d1d69a062df94aaceef98c1954efdd97 (diff)
downloadRustAndDust-b425ac5559bca2a0e8a2ec8918461c5e592b1503.zip
RustAndDust-b425ac5559bca2a0e8a2ec8918461c5e592b1503.tar.gz
build.gradle: add packs task
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle11
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") {