Fix read NDK from env

This commit is contained in:
世界
2024-12-30 21:14:51 +08:00
parent 44176a840b
commit c493467ebd

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")