aboutsummaryrefslogtreecommitdiff
path: root/build/android/build.gradle
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-03-11 16:52:53 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2018-03-11 16:52:53 +0100
commit69247ca2233d1b2e77485b8d32aca41c7e525e74 (patch)
tree958e0fb565ad08673f1cb84c20a80ec1dda9cb1c /build/android/build.gradle
parentcf8d579abc00fee20fb1dfa2e87aaf9dddbee18c (diff)
downloadminetest-69247ca2233d1b2e77485b8d32aca41c7e525e74.tar.gz
minetest-69247ca2233d1b2e77485b8d32aca41c7e525e74.tar.bz2
minetest-69247ca2233d1b2e77485b8d32aca41c7e525e74.zip
Android: update tools (gradle, NDK) & prepare to switch to clang
Diffstat (limited to 'build/android/build.gradle')
-rw-r--r--build/android/build.gradle12
1 files changed, 10 insertions, 2 deletions
diff --git a/build/android/build.gradle b/build/android/build.gradle
index 0d525748b..b4dfd9085 100644
--- a/build/android/build.gradle
+++ b/build/android/build.gradle
@@ -1,9 +1,11 @@
buildscript {
repositories {
mavenCentral()
+ jcenter()
+ google()
}
dependencies {
- classpath "com.android.tools.build:gradle:1.5.0"
+ classpath "com.android.tools.build:gradle:3.0.1"
}
}
@@ -11,7 +13,7 @@ apply plugin: "com.android.application"
android {
compileSdkVersion 25
- buildToolsVersion "25.0.3"
+ buildToolsVersion "26.0.2"
defaultConfig {
versionCode 17
@@ -20,6 +22,12 @@ android {
targetSdkVersion 14
applicationId "net.minetest.minetest"
manifestPlaceholders = [ package: "net.minetest.minetest", project: project.name ]
+ ndk {
+ // Specifies the ABI configurations of your native
+ // libraries Gradle should build and package with your APK.
+ abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a',
+ 'arm64-v8a'
+ }
}
lintOptions {