@ -13,9 +13,9 @@ def getCommitHash = { ->
}
android {
compileSdkVersion 25
compileSdkVersion 26
// update the travis config when changing this
buildToolsVersion '25.0.3 '
buildToolsVersion '26.0.2 '
defaultConfig {
minSdkVersion 15
@ -73,10 +73,12 @@ android {
}
defaultPublishConfig "default"
flavorDimensions "default"
productFlavors {
// The app name refers to the name as displayed on the launcher .
// the flavor name is appended to the name in the settings .
"default" {
dimension "default"
applicationId "org.floens.chan"
resValue "string" , "app_name" , "Clover"
resValue "string" , "app_flavor_name" , ""
@ -84,6 +86,7 @@ android {
}
dev {
dimension "default"
applicationId "org.floens.chan.dev"
resValue "string" , "app_name" , "Clover dev"
resValue "string" , "app_flavor_name" , ""
@ -91,6 +94,7 @@ android {
}
fdroid {
dimension "default"
applicationId "org.floens.chan"
resValue "string" , "app_name" , "Clover"
resValue "string" , "app_flavor_name" , "F-Droid"
@ -120,24 +124,26 @@ android {
}
dependencies {
compile 'com.android.support:support-v13:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:support-annotations:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:customtabs:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'org.jsoup:jsoup:1.9.2'
compile 'com.j256.ormlite:ormlite-core:4.48'
compile 'com.j256.ormlite:ormlite-android:4.48'
compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.16'
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.5.0'
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'org.nibor.autolink:autolink:0.6.0'
compile 'com.google.code.gson:gson:2.8.1'
def supportVersion = '25.4.0'
implementation "com.android.support:support-v13:${supportVersion}"
implementation "com.android.support:appcompat-v7:${supportVersion}"
implementation "com.android.support:recyclerview-v7:${supportVersion}"
implementation "com.android.support:cardview-v7:${supportVersion}"
implementation "com.android.support:support-annotations:${supportVersion}"
implementation "com.android.support:design:${supportVersion}"
implementation "com.android.support:customtabs:${supportVersion}"
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.squareup.okhttp3:okhttp:3.8.0'
implementation 'com.j256.ormlite:ormlite-core:4.48'
implementation 'com.j256.ormlite:ormlite-android:4.48'
implementation 'org.jsoup:jsoup:1.9.2'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.1.16'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.5.0'
implementation 'de.greenrobot:eventbus:2.4.0'
implementation 'org.nibor.autolink:autolink:0.6.0'
implementation 'com.google.code.gson:gson:2.8.1'
// Yes that ' s dagger 1 , "deprecated" .
// There ' s little wrong with it , except that it might be slow at runtime .