summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-09-14 09:56:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-09-14 10:03:52 +0200
commit180bff76ac34bbf8a23d39d5be94729fbeac7d18 (patch)
tree09ef322775dfd50355f62d562e4ff1e306e53b5a /assets
parentef288de70af3c76ea93db4ecb965ddc13c0933e5 (diff)
downloadgdx-boardgame-180bff76ac34bbf8a23d39d5be94729fbeac7d18.zip
gdx-boardgame-180bff76ac34bbf8a23d39d5be94729fbeac7d18.tar.gz
clean assets build
Diffstat (limited to 'assets')
-rw-r--r--assets/build.gradle16
1 files changed, 3 insertions, 13 deletions
diff --git a/assets/build.gradle b/assets/build.gradle
index 9ba20fd..6301d59 100644
--- a/assets/build.gradle
+++ b/assets/build.gradle
@@ -8,26 +8,16 @@ dependencies {
defaultTasks 'build'
-task clean(type: Delete) {
- delete '../test/build/assets'
-}
-
-task copyData(type: Copy) {
- from 'data'
- into '../test/build/assets'
-}
-
task packLoading(type: JavaExec) {
main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
classpath = configurations.texturePacker
- args = ['./loading', '../test/build/assets', 'loading']
+ args = ['loading', 'data', 'loading']
}
-/* task buildUI(dependsOn: ["processXHDPI"]) { */
-task build(dependsOn: clean) {
+task build() {
description "Builds the skin at various DPIs"
}
build.dependsOn {
- tasks.findAll { task -> (task.name.startsWith('pack') || task.name.startsWith('copy')) }
+ tasks.findAll { task -> task.name.startsWith('pack') }
}