2014-12-10 22:46:27 +01:00
|
|
|
apply plugin: 'com.android.application'
|
2020-01-28 23:47:38 +01:00
|
|
|
apply plugin: 'kotlin-android'
|
2020-11-25 14:57:50 +01:00
|
|
|
apply plugin: 'kotlin-parcelize'
|
2020-01-28 23:47:38 +01:00
|
|
|
apply plugin: 'kotlin-kapt'
|
2014-12-10 22:46:27 +01:00
|
|
|
|
|
|
|
android {
|
2020-12-19 18:27:16 +01:00
|
|
|
compileSdkVersion 30
|
|
|
|
buildToolsVersion "30.0.3"
|
2014-12-10 22:46:27 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "be.digitalia.fosdem"
|
2020-01-02 15:33:11 +01:00
|
|
|
minSdkVersion 17
|
2020-12-19 18:27:16 +01:00
|
|
|
targetSdkVersion 30
|
2021-02-06 01:39:43 +01:00
|
|
|
versionCode 1700205
|
|
|
|
versionName "2.0.5"
|
2016-05-20 00:10:08 +02:00
|
|
|
// Supported languages
|
|
|
|
resConfigs "en"
|
2016-10-26 15:00:24 +02:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
2020-01-28 23:47:38 +01:00
|
|
|
|
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
2020-09-14 16:06:37 +02:00
|
|
|
arguments += ["room.incremental": "true"]
|
2020-01-28 23:47:38 +01:00
|
|
|
}
|
|
|
|
}
|
2014-12-20 17:20:08 +01:00
|
|
|
}
|
|
|
|
|
2020-11-29 12:57:08 +01:00
|
|
|
sourceSets {
|
|
|
|
main {
|
2020-12-25 17:26:12 +01:00
|
|
|
res.srcDirs += 'src/main/res-override'
|
2020-11-29 12:57:08 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-10 22:46:27 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2019-11-06 01:57:00 +01:00
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
proguardFiles 'proguard-defaults.txt', 'proguard-rules.pro'
|
2020-02-25 15:30:58 +01:00
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs = [
|
|
|
|
'-Xno-param-assertions',
|
|
|
|
'-Xno-call-assertions',
|
|
|
|
'-Xno-receiver-assertions'
|
|
|
|
]
|
|
|
|
}
|
2020-11-11 13:03:47 +01:00
|
|
|
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'DebugProbesKt.bin'
|
|
|
|
}
|
2014-12-10 22:46:27 +01:00
|
|
|
}
|
|
|
|
}
|
2019-04-04 01:31:10 +02:00
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2020-01-28 23:47:38 +01:00
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'kotlin/**'
|
|
|
|
exclude 'META-INF/*.kotlin_module'
|
|
|
|
exclude 'META-INF/*.version'
|
|
|
|
}
|
2014-12-10 22:46:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-01-22 20:50:40 +01:00
|
|
|
def lifecycle_version = "2.2.0"
|
2020-12-19 18:31:21 +01:00
|
|
|
def room_version = "2.2.6"
|
2021-02-06 01:36:25 +01:00
|
|
|
def okhttp_version = "3.12.13"
|
2019-01-28 13:30:07 +01:00
|
|
|
|
2021-02-04 13:49:34 +01:00
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2'
|
2020-11-02 02:35:43 +01:00
|
|
|
implementation 'androidx.core:core-ktx:1.3.2'
|
2020-06-11 01:19:45 +02:00
|
|
|
implementation 'androidx.fragment:fragment-ktx:1.2.5'
|
2020-09-14 14:06:12 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
implementation 'com.google.android.material:material:1.2.1'
|
2019-12-09 21:13:17 +01:00
|
|
|
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
|
2019-11-21 13:45:51 +01:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
|
|
implementation 'androidx.viewpager2:viewpager2:1.0.0'
|
2020-09-14 14:06:12 +02:00
|
|
|
implementation 'androidx.drawerlayout:drawerlayout:1.1.1'
|
2020-04-16 16:24:32 +02:00
|
|
|
implementation 'androidx.preference:preference-ktx:1.1.1'
|
2020-12-11 18:04:32 +01:00
|
|
|
implementation 'androidx.browser:browser:1.3.0'
|
2020-01-28 23:47:38 +01:00
|
|
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
|
2020-03-20 00:04:22 +01:00
|
|
|
implementation 'androidx.paging:paging-runtime-ktx:2.1.2'
|
2020-01-28 23:47:38 +01:00
|
|
|
implementation "androidx.room:room-ktx:$room_version"
|
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
2020-11-10 23:50:58 +01:00
|
|
|
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
|
|
|
|
implementation ("com.squareup.okhttp3:okhttp-tls:$okhttp_version") {
|
|
|
|
exclude group: 'org.bouncycastle', module: 'bcprov-jdk15on'
|
|
|
|
}
|
2021-02-04 13:49:34 +01:00
|
|
|
implementation 'com.squareup.okio:okio:2.10.0'
|
2020-12-11 23:51:44 +01:00
|
|
|
implementation 'com.squareup.moshi:moshi:1.11.0'
|
2018-12-13 04:19:20 +01:00
|
|
|
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
|
2014-12-10 22:46:27 +01:00
|
|
|
}
|