Fix read NDK from env
This commit is contained in:
@@ -14,6 +14,11 @@ android {
|
|||||||
|
|
||||||
ndkVersion "28.0.12674087"
|
ndkVersion "28.0.12674087"
|
||||||
|
|
||||||
|
def ndkPathFromEnv = System.getenv("ANDROID_NDK_HOME")
|
||||||
|
if (ndkPathFromEnv != null) {
|
||||||
|
ndkPath ndkPathFromEnv
|
||||||
|
}
|
||||||
|
|
||||||
ksp {
|
ksp {
|
||||||
arg("room.incremental", "true")
|
arg("room.incremental", "true")
|
||||||
arg("room.schemaLocation", "$projectDir/schemas")
|
arg("room.schemaLocation", "$projectDir/schemas")
|
||||||
|
|||||||
Reference in New Issue
Block a user