Fix gradlew path resolution in env.py

This commit is contained in:
Doddddd
2026-04-08 17:28:40 +08:00
committed by John Wu
parent 4890935866
commit 4a1a069ad2
+2 -1
View File
@@ -46,7 +46,8 @@ class Paths:
self.ndk_build = self.ndk / "ndk-build"
self.rust_sysroot = self.ndk / "toolchains" / "rust"
self.adb = self.sdk / "platform-tools" / "adb"
self.gradlew = Path.cwd() / "app" / "gradlew"
project_root = Path(__file__).resolve().parent.parent
self.gradlew = project_root / "app" / "gradlew"
@functools.cache