upgrade gradle version for android studio 3, fix some lint warnings

This commit is contained in:
Conny Duck 2017-10-25 21:56:27 +02:00
parent 20da7a1a13
commit d3061da9cb
8 changed files with 13 additions and 7 deletions

View File

@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
buildToolsVersion '26.0.2'
defaultConfig {
applicationId "com.keylesspalace.tusky"
minSdkVersion 15
@ -19,9 +19,15 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
flavorDimensions "store"
productFlavors {
google {}
fdroid {}
google {
dimension "store"
}
fdroid {
dimension "store"
}
}
lintOptions {
disable 'MissingTranslation'
@ -60,7 +66,7 @@ dependencies {
//room
compile "android.arch.persistence.room:runtime:1.0.0-rc1"
annotationProcessor 'android.arch.persistence.room:compiler:1.0.0-beta2'
annotationProcessor 'android.arch.persistence.room:compiler:1.0.0-rc1'
testCompile "junit:junit:4.12"
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {

View File

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 675 B

View File

Before

Width:  |  Height:  |  Size: 453 B

After

Width:  |  Height:  |  Size: 453 B

View File

Before

Width:  |  Height:  |  Size: 888 B

After

Width:  |  Height:  |  Size: 888 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.0.0'
}
}

View File

@ -1,6 +1,6 @@
#Mon Mar 06 17:29:49 CET 2017
#Wed Oct 25 20:21:12 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip