Skip to content

Commit

Permalink
build: use rootProject ndk version
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Aug 1, 2024
1 parent 59c867c commit e34dea2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ repositories {
android {
compileSdkVersion safeExtGet("compileSdkVersion", 31)

if (rootProject.hasProperty("ndkPath")) {
ndkPath rootProject.ext.ndkPath
}
if (rootProject.hasProperty("ndkVersion")) {
ndkVersion rootProject.ext.ndkVersion
}

buildFeatures {
prefab true
}
Expand Down

0 comments on commit e34dea2

Please sign in to comment.