[Android] Upgrade AGP, Arch and Kotlin

Geoffrey Métais git at videolan.org
Wed Apr 4 18:36:13 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Apr  3 12:55:17 2018 +0200| [451c24ef48d07a880c1067abbf77f6ff54c01bde] | committer: Geoffrey Métais

Upgrade AGP, Arch and Kotlin

> https://code.videolan.org/videolan/vlc-android/commit/451c24ef48d07a880c1067abbf77f6ff54c01bde
---

 api/build.gradle          | 1 -
 build.gradle              | 7 +++----
 libvlc/build.gradle       | 1 -
 medialibrary/build.gradle | 1 -
 vlc-android/build.gradle  | 2 --
 5 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/api/build.gradle b/api/build.gradle
index c45a79a78..55314ad78 100644
--- a/api/build.gradle
+++ b/api/build.gradle
@@ -27,7 +27,6 @@ apply plugin: 'com.jfrog.bintray'
 
 android {
     compileSdkVersion rootProject.ext.compileSdkVersion
-    buildToolsVersion rootProject.ext.buildToolsVersion
 
     defaultConfig {
         versionCode 1
diff --git a/build.gradle b/build.gradle
index 7a1a7f052..a8d5dddfa 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,7 +1,7 @@
 // Top-level build file where you can add configuration options common to all sub-projects/modules.
 buildscript {
-    ext.android_plugin_version = '3.0.1'
-    ext.kotlin_version = '1.2.30'
+    ext.android_plugin_version = '3.1.0'
+    ext.kotlin_version = '1.2.31'
     ext.kotlinx_version = '0.22.2'
     repositories {
         flatDir dirs: "gradle/plugins"
@@ -26,8 +26,7 @@ allprojects {
 ext {
     appCompatVersion = '27.1.0'
     constraintLayoutVersion = '1.1.0-beta6'
-    archVersion = '1.1.0'
-    buildToolsVersion = "27.0.2"
+    archVersion = '1.1.1'
     compileSdkVersion = 26
     minSdkVersion = 14
     targetSdkVersion = 26
diff --git a/libvlc/build.gradle b/libvlc/build.gradle
index e50e2bb51..38fe93900 100644
--- a/libvlc/build.gradle
+++ b/libvlc/build.gradle
@@ -4,7 +4,6 @@ import com.android.builder.core.DefaultManifestParser
 
 android {
     compileSdkVersion rootProject.ext.compileSdkVersion
-    buildToolsVersion rootProject.ext.buildToolsVersion
 
     sourceSets {
     main {
diff --git a/medialibrary/build.gradle b/medialibrary/build.gradle
index 72aecf780..94ca75c65 100644
--- a/medialibrary/build.gradle
+++ b/medialibrary/build.gradle
@@ -23,7 +23,6 @@
 apply plugin: 'com.android.library'
 android {
     compileSdkVersion rootProject.ext.compileSdkVersion
-    buildToolsVersion rootProject.ext.buildToolsVersion
 
     sourceSets {
         main {
diff --git a/vlc-android/build.gradle b/vlc-android/build.gradle
index b55a3798d..e9aff781f 100644
--- a/vlc-android/build.gradle
+++ b/vlc-android/build.gradle
@@ -13,7 +13,6 @@ android {
     }
 
     compileSdkVersion rootProject.ext.compileSdkVersion
-    buildToolsVersion rootProject.ext.buildToolsVersion
 
     flavorDimensions "target", "abi"
 
@@ -191,7 +190,6 @@ dependencies {
     implementation project(':api')
     implementation project(':axmlrpc')
     // AppCompat
-    kapt 'com.android.databinding:compiler:3.0.1'
     implementation "com.android.support:recyclerview-v7:$rootProject.ext.appCompatVersion"
     implementation "com.android.support:design:$rootProject.ext.appCompatVersion"
     implementation "com.android.support:support-annotations:$rootProject.ext.appCompatVersion"



More information about the Android mailing list