Update gradle android plugin to 2.1.0, keep support lib version in a variable for consistent references

This commit is contained in:
Andy Scherzinger 2016-04-27 14:48:05 +02:00
parent a73926036f
commit 37dbbe2a4f
2 changed files with 8 additions and 5 deletions

View file

@ -3,12 +3,15 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
classpath 'com.android.tools.build:gradle:2.1.0'
}
}
apply plugin: 'com.android.application'
ext {
supportLibraryVersion = '23.1.1'
}
repositories {
mavenCentral()
@ -21,10 +24,10 @@ repositories {
dependencies {
compile name: 'touch-image-view'
compile project(':owncloud-android-library')
compile 'com.android.support:support-v4:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:support-v4:${supportLibraryVersion}'
compile 'com.android.support:design:${supportLibraryVersion}'
compile 'com.jakewharton:disklrucache:2.0.2'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:appcompat-v7:${supportLibraryVersion}'
compile 'com.getbase:floatingactionbutton:1.10.1'
}

View file

@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
classpath 'com.android.tools.build:gradle:2.1.0'
}
}
apply plugin: 'com.android.application'