DEADSOFTWARE

Softlink assets
authorfredboy <fredboy@protonmail.com>
Sat, 25 May 2024 03:47:42 +0000 (10:47 +0700)
committerfredboy <fredboy@protonmail.com>
Sat, 25 May 2024 03:47:42 +0000 (10:47 +0700)
android/assets [new symlink]
desktop/assets [new symlink]
desktop/build.gradle

diff --git a/android/assets b/android/assets
new file mode 120000 (symlink)
index 0000000..ec2e4be
--- /dev/null
@@ -0,0 +1 @@
+../assets
\ No newline at end of file
diff --git a/desktop/assets b/desktop/assets
new file mode 120000 (symlink)
index 0000000..ec2e4be
--- /dev/null
@@ -0,0 +1 @@
+../assets
\ No newline at end of file
index 912734500bc8b2c2b414039e17cc9ef830176306..f909ef108038f25ce939a04c8e745a2784fa193a 100644 (file)
@@ -8,10 +8,10 @@ java.targetCompatibility = JavaVersion.VERSION_17
 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