83 lines
2.8 KiB
Groovy
83 lines
2.8 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
buildToolsVersion "27.0.3"
|
|
defaultConfig {
|
|
applicationId "fr.gouv.etalab.mastodon"
|
|
minSdkVersion 15
|
|
targetSdkVersion 27
|
|
versionCode 132
|
|
versionName "1.11.0"
|
|
}
|
|
flavorDimensions "default"
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
pseudoLocalesEnabled true
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
abortOnError false
|
|
}
|
|
productFlavors {
|
|
fdroid {
|
|
}
|
|
playstore {
|
|
}
|
|
}
|
|
}
|
|
allprojects {
|
|
repositories {
|
|
maven { url "https://jitpack.io" }
|
|
maven { url "https://maven.google.com"}
|
|
}
|
|
}
|
|
ext.supportLibraryVersion = '27.1.1'
|
|
ext.glideLibraryVersion = '4.8.0'
|
|
ext.conscryptLibraryVersion = '1.2.0'
|
|
ext.evernoteLibraryVersion = '1.3.0-alpha06'
|
|
ext.gsonLibraryVersion = '2.8.2'
|
|
ext.guavaLibraryVersion = '24.1-android'
|
|
ext.photoViewLibraryVersion = '2.0.0'
|
|
ext.swipebackLibraryVersion = '1.0.2'
|
|
ext.ratethisappLibraryVersion = '1.2.0'
|
|
ext.uploadServiceVersion = "3.4.2"
|
|
ext.acraVersion = '5.1.3'
|
|
|
|
dependencies {
|
|
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"
|
|
implementation "com.android.support:exifinterface:$supportLibraryVersion"
|
|
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"
|
|
|
|
implementation 'com.github.stom79:country-picker-android:1.2.0'
|
|
implementation 'com.github.stom79:mytransl:1.5'
|
|
implementation "ch.acra:acra-mail:$acraVersion"
|
|
implementation "ch.acra:acra-dialog:$acraVersion"
|
|
implementation "ch.acra:acra-limiter:$acraVersion"
|
|
|
|
playstoreImplementation "io.github.kobakei:ratethisapp:$ratethisappLibraryVersion"
|
|
|
|
|
|
|
|
}
|