From 0c7780580c22693a6686e6b5435ef5588b4c655b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 22 Feb 2016 12:27:51 +0100 Subject: desktop/build.gradle: do not include data/rustanddust.sqlite --- desktop/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.1-2-g2b99