Skip to content

Commit 86e4a99

Browse files
committed
fix(ci): drop hardcoded Windows java.io.tmpdir override in Gradle
The gen/android/gradle.properties carried a committed local-only override -Djava.io.tmpdir=D:\tmp\win-temp which crashes Gradle on Ubuntu CI ("java.io.tmpdir is set to a directory that doesn't exist"). Without the override, Gradle uses %TEMP% on Windows and /tmp on Linux — both valid. If a local override is needed again, put it in ~/.gradle/gradle.properties so it doesn't leak into the shared repo.
1 parent 66b3ed4 commit 86e4a99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/mobile/src-tauri/gen/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# http://www.gradle.org/docs/current/userguide/build_environment.html
77
# Specifies the JVM arguments used for the daemon process.
88
# The setting is particularly useful for tweaking memory settings.
9-
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=D:\\tmp\\win-temp
9+
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
1010
# When configured, Gradle will run in incubating parallel mode.
1111
# This option should only be used with decoupled projects. More details, visit
1212
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects

0 commit comments

Comments
 (0)