2017-07-27 19:31:24 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2018-09-26 13:56:45 +02:00
|
|
|
compileSdkVersion 28
|
|
|
|
buildToolsVersion "28.0.3"
|
2017-07-27 19:31:24 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "fr.gouv.etalab.mastodon"
|
2018-12-11 19:17:14 +01:00
|
|
|
minSdkVersion 16
|
2018-09-26 13:56:45 +02:00
|
|
|
targetSdkVersion 28
|
2019-01-22 18:16:47 +01:00
|
|
|
versionCode 231
|
|
|
|
versionName "1.66.1"
|
2018-12-11 19:17:14 +01:00
|
|
|
multiDexEnabled true
|
2017-07-27 19:31:24 +02:00
|
|
|
}
|
2018-12-11 19:27:21 +01:00
|
|
|
dexOptions {
|
|
|
|
javaMaxHeapSize "4g"
|
|
|
|
}
|
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
|
|
|
|
}
|
2018-08-22 09:04:43 +02:00
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|
2019-01-08 18:11:40 +01:00
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/proguard/androidx-annotations.pro'
|
|
|
|
}
|
2017-07-27 19:31:24 +02:00
|
|
|
}
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
maven { url "https://jitpack.io" }
|
|
|
|
maven { url "https://maven.google.com"}
|
2018-10-24 14:52:08 +02:00
|
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
|
2017-07-27 19:31:24 +02:00
|
|
|
}
|
|
|
|
}
|
2018-09-26 13:56:45 +02:00
|
|
|
ext.supportLibraryVersion = '28.0.0'
|
|
|
|
ext.glideLibraryVersion = '4.8.0'
|
2018-11-18 11:50:21 +01:00
|
|
|
ext.conscryptLibraryVersion = '1.3.0'
|
2018-11-28 17:19:34 +01:00
|
|
|
ext.evernoteLibraryVersion = '1.2.6'
|
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'
|
2019-01-13 17:00:24 +01:00
|
|
|
ext.swipebackLibraryVersion = '1.0.3'
|
2018-02-20 18:18:18 +01:00
|
|
|
ext.ratethisappLibraryVersion = '1.2.0'
|
2018-08-22 19:42:45 +02:00
|
|
|
ext.uploadServiceVersion = "3.4.2"
|
2019-01-18 14:48:42 +01:00
|
|
|
ext.torrentstreamVersion = "2.5.0"
|
2019-01-16 15:06:21 +01:00
|
|
|
|
2018-02-20 18:18:18 +01:00
|
|
|
|
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-10-14 15:20:05 +02:00
|
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
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"
|
2019-01-13 17:00:24 +01:00
|
|
|
implementation "com.github.stom79:SwipeBackLayout:$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'
|
2019-01-13 17:00:24 +01:00
|
|
|
implementation 'com.github.stom79:SparkButton:1.0.10'
|
2018-10-13 15:59:15 +02:00
|
|
|
implementation "com.koushikdutta.async:androidasync:2.+"
|
2018-10-24 14:52:08 +02:00
|
|
|
implementation 'com.vanniktech:emoji-one:0.6.0-SNAPSHOT'
|
2018-11-04 16:00:44 +01:00
|
|
|
implementation 'com.oguzdev:CircularFloatingActionMenu:1.0.2'
|
2018-11-24 18:56:12 +01:00
|
|
|
implementation 'com.github.franmontiel:LocaleChanger:0.9.2'
|
2018-12-22 08:28:14 +01:00
|
|
|
implementation 'com.github.GrenderG:Toasty:1.3.1'
|
2018-12-11 19:17:14 +01:00
|
|
|
implementation 'com.elconfidencial.bubbleshowcase:bubbleshowcase:1.3.1'
|
2018-12-11 19:27:21 +01:00
|
|
|
implementation 'com.android.support:multidex:1.0.3'
|
2019-01-18 14:48:42 +01:00
|
|
|
implementation 'com.google.android.exoplayer:exoplayer:2.9.3'
|
2019-01-16 15:06:21 +01:00
|
|
|
implementation 'com.github.stom79:android-upload-service:3.4.2-Mastalab'
|
2019-01-08 10:50:43 +01:00
|
|
|
implementation 'com.github.mabbas007:TagsEditText:1.0.5'
|
2019-01-08 18:11:40 +01:00
|
|
|
implementation 'com.jaredrummler:material-spinner:1.3.1'
|
2018-02-20 18:18:18 +01:00
|
|
|
playstoreImplementation "io.github.kobakei:ratethisapp:$ratethisappLibraryVersion"
|
2017-07-27 19:31:24 +02:00
|
|
|
}
|