diff options
author | SimonIT <simonit.orig@gmail.com> | 2019-11-26 22:58:08 +0100 |
---|---|---|
committer | SimonIT <simonit.orig@gmail.com> | 2019-11-26 22:58:08 +0100 |
commit | 077d0afcaf218db35553dbb4fdf764e276c00ba7 (patch) | |
tree | be5b119502ec9eddec3bc35daeb910106c34e779 /assets/build.gradle | |
parent | c644272e3be0c8e2a3b04595ec2249ed4e76e56e (diff) | |
download | gdx-boardgame-077d0afcaf218db35553dbb4fdf764e276c00ba7.zip gdx-boardgame-077d0afcaf218db35553dbb4fdf764e276c00ba7.tar.gz |
make this framework deliver source and javadoc jars, renamed build to generateAssets task because of custom build tasks are not allowed when using the standard Gradle lifecycle plugins
Diffstat (limited to 'assets/build.gradle')
-rw-r--r-- | assets/build.gradle | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/build.gradle b/assets/build.gradle index 4b37476..cf35be1 100644 --- a/assets/build.gradle +++ b/assets/build.gradle @@ -6,7 +6,7 @@ dependencies { texturePacker "com.badlogicgames.gdx:gdx-tools:$gdxVersion" } -defaultTasks 'build' +defaultTasks 'generateAssets' task packLoading(type: JavaExec) { main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker' @@ -20,10 +20,10 @@ task packHexOverlays(type: JavaExec) { args = ['hex-overlays', 'data', 'hex-overlays'] } -task build() { +task generateAssets() { description "Builds the skin at various DPIs" } -build.dependsOn { +generateAssets.dependsOn { tasks.findAll { task -> task.name.startsWith('pack') } } |