Skip to content

Commit

Permalink
Set NDK version in Gradle build file
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Aug 10, 2021
1 parent ec35c83 commit 870e640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ buildscript {
]

ext.build = [
ndkVersion: "21.3.6528147", // Keep it in sync in TC Dockerfile.
compileSdkVersion: 29,
targetSdkVersion: 28,
minSdkVersion: 21, // So that we can publish for aarch64.
Expand Down
1 change: 1 addition & 0 deletions glean-core/android-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ apply plugin: 'com.android.library'
apply plugin: 'org.mozilla.rust-android-gradle.rust-android'

android {
ndkVersion rootProject.ext.build.ndkVersion
compileSdkVersion rootProject.ext.build.compileSdkVersion

defaultConfig {
Expand Down

0 comments on commit 870e640

Please sign in to comment.