From 4ad92d4055405f5acda70baa38177a6b414fa9bf Mon Sep 17 00:00:00 2001 From: fredboy Date: Sat, 25 May 2024 10:47:42 +0700 Subject: [PATCH] Softlink assets --- android/assets | 1 + desktop/assets | 1 + desktop/build.gradle | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 120000 android/assets create mode 120000 desktop/assets diff --git a/android/assets b/android/assets new file mode 120000 index 0000000..ec2e4be --- /dev/null +++ b/android/assets @@ -0,0 +1 @@ +../assets \ No newline at end of file diff --git a/desktop/assets b/desktop/assets new file mode 120000 index 0000000..ec2e4be --- /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 9127345..f909ef1 100644 --- a/desktop/build.gradle +++ b/desktop/build.gradle @@ -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 -- 2.29.2