android: update gradle and build tools versions

Also disable erroring out on lint failure for now.
This commit is contained in:
Jan Schmidt 2019-08-05 23:22:07 +10:00 committed by Matthew Waters
parent 0b116cc2be
commit 75fd7046fb
2 changed files with 16 additions and 5 deletions

View file

@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion 23 compileSdkVersion 23
buildToolsVersion "26.0.2"
defaultConfig { defaultConfig {
applicationId "org.freedesktop.gstreamer.webrtc" applicationId "org.freedesktop.gstreamer.webrtc"
@ -46,6 +45,10 @@ android {
path 'src/main/jni/Android.mk' path 'src/main/jni/Android.mk'
} }
} }
lintOptions {
abortOnError false
}
} }
afterEvaluate { afterEvaluate {

View file

@ -6,10 +6,7 @@ buildscript {
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.1' classpath 'com.android.tools.build:gradle:3.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
} }
} }
@ -23,3 +20,14 @@ allprojects {
task clean(type: Delete) { task clean(type: Delete) {
delete rootProject.buildDir delete rootProject.buildDir
} }
ext {
supportLibVersion = '27.1.1' // variable that can be referenced to keep support libs consistent
commonLibVersion= '2.12.4'
versionBuildTool = '28.0.3'
versionCompiler = 28
versionTarget = 27
versionNameString = '1.0.0'
javaSourceCompatibility = JavaVersion.VERSION_1_8
javaTargetCompatibility = JavaVersion.VERSION_1_8
}