diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-22 12:27:51 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-22 12:27:51 +0100 |
commit | 0c7780580c22693a6686e6b5435ef5588b4c655b (patch) | |
tree | b4704254a9016443242ff8c3f0fdf394aaaa2ab6 | |
parent | 0f92a55fee266d861a0e5d0331a6d6937d0a4975 (diff) | |
download | RustAndDust-0c7780580c22693a6686e6b5435ef5588b4c655b.zip RustAndDust-0c7780580c22693a6686e6b5435ef5588b4c655b.tar.gz |
desktop/build.gradle: do not include data/rustanddust.sqlite
-rw-r--r-- | desktop/build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/build.gradle b/desktop/build.gradle index d17bf73..3539d47 100644 --- a/desktop/build.gradle +++ b/desktop/build.gradle @@ -14,11 +14,13 @@ task run(dependsOn: classes, type: JavaExec) { ignoreExitValue = true } +def sqliteFiles = ["data/rustanddust.sqlite"] + task dist(type: Jar) { from files(sourceSets.main.output.classesDir) from files(sourceSets.main.output.resourcesDir) from {configurations.compile.collect {zipTree(it)}} - from files(project.assetsDir); + from fileTree(dir: project.assetsDir, excludes : sqliteFiles) manifest { attributes 'Main-Class': project.mainClassName |