summaryrefslogtreecommitdiffstats
path: root/desktop/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/build.gradle')
-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