Fix read NDK from env

This commit is contained in:
世界
2025-01-01 12:21:22 +08:00
parent 44176a840b
commit c493467ebd
+5
View File
@@ -14,6 +14,11 @@ android {
ndkVersion "28.0.12674087"
def ndkPathFromEnv = System.getenv("ANDROID_NDK_HOME")
if (ndkPathFromEnv != null) {
ndkPath ndkPathFromEnv
}
ksp {
arg("room.incremental", "true")
arg("room.schemaLocation", "$projectDir/schemas")