diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-09-14 09:56:35 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-09-14 10:03:52 +0200 |
commit | 180bff76ac34bbf8a23d39d5be94729fbeac7d18 (patch) | |
tree | 09ef322775dfd50355f62d562e4ff1e306e53b5a /assets | |
parent | ef288de70af3c76ea93db4ecb965ddc13c0933e5 (diff) | |
download | gdx-boardgame-180bff76ac34bbf8a23d39d5be94729fbeac7d18.zip gdx-boardgame-180bff76ac34bbf8a23d39d5be94729fbeac7d18.tar.gz |
clean assets build
Diffstat (limited to 'assets')
-rw-r--r-- | assets/build.gradle | 16 |
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') } } |