Browse Source

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

pull/416/head
Conny Duck 9 years ago
parent
commit
9dc9ee2ef0
  1. 14
      app/build.gradle
  2. 0
      app/src/main/res/drawable-hdpi/ic_notify.png
  3. 0
      app/src/main/res/drawable-mdpi/ic_notify.png
  4. 0
      app/src/main/res/drawable-xhdpi/ic_notify.png
  5. 0
      app/src/main/res/drawable-xxhdpi/ic_notify.png
  6. BIN
      app/src/main/res/raw/keystore_tusky_api.bks
  7. 2
      build.gradle
  8. 4
      gradle/wrapper/gradle-wrapper.properties

14
app/build.gradle

@ -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', {

0
app/src/main/res/drawable-hdpi-v11/ic_notify.png → app/src/main/res/drawable-hdpi/ic_notify.png

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 675 B

0
app/src/main/res/drawable-mdpi-v11/ic_notify.png → app/src/main/res/drawable-mdpi/ic_notify.png

Before

Width:  |  Height:  |  Size: 453 B

After

Width:  |  Height:  |  Size: 453 B

0
app/src/main/res/drawable-xhdpi-v11/ic_notify.png → app/src/main/res/drawable-xhdpi/ic_notify.png

Before

Width:  |  Height:  |  Size: 888 B

After

Width:  |  Height:  |  Size: 888 B

0
app/src/main/res/drawable-xxhdpi-v11/ic_notify.png → app/src/main/res/drawable-xxhdpi/ic_notify.png

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
app/src/main/res/raw/keystore_tusky_api.bks

Binary file not shown.

2
build.gradle

@ -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'
}
}

4
gradle/wrapper/gradle-wrapper.properties vendored

@ -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

Loading…
Cancel
Save