2017-07-27 19:31:24 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2017-11-08 17:37:50 +01:00
|
|
|
compileSdkVersion 27
|
2018-02-20 18:18:18 +01:00
|
|
|
buildToolsVersion "27.0.3"
|
2017-07-27 19:31:24 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "fr.gouv.etalab.mastodon"
|
2017-08-01 10:33:50 +02:00
|
|
|
minSdkVersion 15
|
2017-11-08 17:37:50 +01:00
|
|
|
targetSdkVersion 27
|
2018-08-14 16:58:55 +02:00
|
|
|
versionCode 124
|
2018-08-15 14:42:24 +02:00
|
|
|
versionName "1.10.0"
|
2017-07-27 19:31:24 +02:00
|
|
|
}
|
2017-10-26 16:19:56 +02:00
|
|
|
flavorDimensions "default"
|
2017-07-27 19:31:24 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2018-01-03 15:25:35 +01:00
|
|
|
debug {
|
|
|
|
pseudoLocalesEnabled true
|
|
|
|
}
|
2017-07-27 19:31:24 +02:00
|
|
|
}
|
2018-03-17 18:28:07 +01:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2017-08-26 17:53:13 +02:00
|
|
|
|
|
|
|
productFlavors {
|
2017-08-26 18:47:52 +02:00
|
|
|
fdroid {
|
2017-08-26 17:53:13 +02:00
|
|
|
}
|
2017-12-09 18:16:20 +01:00
|
|
|
playstore {
|
2017-08-26 17:53:13 +02:00
|
|
|
}
|
|
|
|
}
|
2017-07-27 19:31:24 +02:00
|
|
|
}
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
maven { url "https://jitpack.io" }
|
|
|
|
maven { url "https://maven.google.com"}
|
|
|
|
}
|
|
|
|
}
|
2018-04-23 15:17:42 +02:00
|
|
|
ext.supportLibraryVersion = '27.1.1'
|
2018-02-20 18:18:18 +01:00
|
|
|
ext.glideLibraryVersion = '4.6.1'
|
2018-08-15 14:42:24 +02:00
|
|
|
ext.conscryptLibraryVersion = '1.2.0'
|
|
|
|
ext.evernoteLibraryVersion = '1.3.0-alpha06'
|
2018-02-20 18:18:18 +01:00
|
|
|
ext.gsonLibraryVersion = '2.8.2'
|
2018-03-17 18:28:07 +01:00
|
|
|
ext.guavaLibraryVersion = '24.1-android'
|
2018-02-20 18:18:18 +01:00
|
|
|
ext.photoViewLibraryVersion = '2.0.0'
|
|
|
|
ext.swipebackLibraryVersion = '1.0.2'
|
|
|
|
ext.ratethisappLibraryVersion = '1.2.0'
|
|
|
|
|
2017-07-27 19:31:24 +02:00
|
|
|
dependencies {
|
2018-02-20 18:18:18 +01:00
|
|
|
implementation "com.android.support:appcompat-v7:$supportLibraryVersion"
|
|
|
|
implementation "com.android.support:design:$supportLibraryVersion"
|
|
|
|
implementation "com.android.support:support-v4:$supportLibraryVersion"
|
|
|
|
implementation "com.android.support:recyclerview-v7:$supportLibraryVersion"
|
|
|
|
implementation "com.android.support:customtabs:$supportLibraryVersion"
|
2018-04-18 14:05:10 +02:00
|
|
|
implementation "com.android.support:exifinterface:$supportLibraryVersion"
|
2018-02-20 18:18:18 +01:00
|
|
|
implementation "com.github.bumptech.glide:glide:$glideLibraryVersion"
|
|
|
|
annotationProcessor "com.github.bumptech.glide:compiler:$glideLibraryVersion"
|
|
|
|
implementation "org.conscrypt:conscrypt-android:$conscryptLibraryVersion"
|
|
|
|
implementation "com.evernote:android-job:$evernoteLibraryVersion"
|
|
|
|
implementation "com.google.code.gson:gson:$gsonLibraryVersion"
|
|
|
|
implementation "com.google.guava:guava:$guavaLibraryVersion"
|
|
|
|
implementation "com.github.chrisbanes:PhotoView:$photoViewLibraryVersion"
|
|
|
|
implementation "com.gongwen:swipeback:$swipebackLibraryVersion"
|
|
|
|
|
2018-06-08 20:45:47 +02:00
|
|
|
implementation 'com.github.stom79:country-picker-android:1.2.0'
|
2018-08-14 16:20:53 +02:00
|
|
|
implementation 'com.github.stom79:mytransl:1.5'
|
2018-02-20 18:18:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
playstoreImplementation "io.github.kobakei:ratethisapp:$ratethisappLibraryVersion"
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-07-27 19:31:24 +02:00
|
|
|
}
|