mirror of
https://github.com/SagerNet/sing-box-for-android.git
synced 2025-04-03 20:07:38 +03:00
Fix read NDK from env
This commit is contained in:
parent
44176a840b
commit
c493467ebd
1 changed files with 5 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue