summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9ea8254)
raw | patch | inline | side by side (parent: 9ea8254)
author | fredboy <fredboy@protonmail.com> | |
Sat, 25 May 2024 03:47:42 +0000 (10:47 +0700) | ||
committer | fredboy <fredboy@protonmail.com> | |
Sat, 25 May 2024 03:47:42 +0000 (10:47 +0700) |
android/assets | [new symlink] | patch | blob |
desktop/assets | [new symlink] | patch | blob |
desktop/build.gradle | patch | blob | history |
diff --git a/android/assets b/android/assets
--- /dev/null
+++ b/android/assets
@@ -0,0 +1 @@
+../assets
\ No newline at end of file
diff --git a/desktop/assets b/desktop/assets
--- /dev/null
+++ b/desktop/assets
@@ -0,0 +1 @@
+../assets
\ No newline at end of file
diff --git a/desktop/build.gradle b/desktop/build.gradle
index 912734500bc8b2c2b414039e17cc9ef830176306..f909ef108038f25ce939a04c8e745a2784fa193a 100644 (file)
--- a/desktop/build.gradle
+++ b/desktop/build.gradle
java.sourceCompatibility = JavaVersion.VERSION_1_8
sourceSets.main.java.srcDirs = ["src/"]
-sourceSets.main.resources.srcDirs = ["../android/assets"]
+sourceSets.main.resources.srcDirs = ["assets/"]
project.ext.mainClassName = "ru.deadsoftware.cavedroid.desktop.DesktopLauncher"
-project.ext.assetsDir = new File("../android/assets")
+project.ext.assetsDir = new File("assets/")
task run(dependsOn: build, type: JavaExec) {
main = project.mainClassName