We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a04b6f9 commit bd30980Copy full SHA for bd30980
build.gradle
@@ -15,7 +15,15 @@ mainClassName = 'rlbotexample.JavaExample'
15
// This directory will be created and the interface dll copied into it at runtime.
16
// The end result is that the interface dll will be available for loading.
17
def dllDirectory = 'build/dll'
18
-applicationDefaultJvmArgs = ["-Djna.library.path=" + dllDirectory]
+
19
+applicationDefaultJvmArgs = ["-Djna.library.path=" + dllDirectory, "-Duser.dir=MY_WORKING_DIR"]
20
21
+// https://www.mkyong.com/gradle/gradle-application-plugin-app_home-in-applicationdefaultjvmargs/
22
+startScripts {
23
+ doLast {
24
+ windowsScript.text = windowsScript.text.replace('MY_WORKING_DIR', "%~dp0.")
25
+ }
26
+}
27
28
dependencies {
29
// Fetch the framework jar file
0 commit comments