summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-22 12:27:51 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-22 12:27:51 +0100
commit0c7780580c22693a6686e6b5435ef5588b4c655b (patch)
treeb4704254a9016443242ff8c3f0fdf394aaaa2ab6 /desktop
parent0f92a55fee266d861a0e5d0331a6d6937d0a4975 (diff)
downloadRustAndDust-0c7780580c22693a6686e6b5435ef5588b4c655b.zip
RustAndDust-0c7780580c22693a6686e6b5435ef5588b4c655b.tar.gz
desktop/build.gradle: do not include data/rustanddust.sqlite
Diffstat (limited to 'desktop')
-rw-r--r--desktop/build.gradle4
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