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'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
2014-12-10 22:46:27 +01:00
|
|
|
|
|
|
|
android {
|
2019-11-10 13:31:42 +01:00
|
|
|
compileSdkVersion 29
|
2020-02-10 11:02:03 +01:00
|
|
|
buildToolsVersion "29.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
|
2019-11-10 13:31:42 +01:00
|
|
|
targetSdkVersion 29
|
2020-01-29 12:30:55 +01:00
|
|
|
versionCode 1700201
|
|
|
|
versionName "2.0.1"
|
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 {
|
|
|
|
arguments = ["room.incremental": "true"]
|
|
|
|
}
|
|
|
|
}
|
2014-12-20 17:20: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'
|
|
|
|
]
|
|
|
|
}
|
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 '**/*.kotlin_metadata'
|
|
|
|
exclude 'META-INF/*.kotlin_module'
|
|
|
|
exclude 'META-INF/*.version'
|
|
|
|
}
|
|
|
|
|
|
|
|
androidExtensions {
|
|
|
|
features = ["parcelize"]
|
|
|
|
}
|
2014-12-10 22:46:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-01-22 20:50:40 +01:00
|
|
|
def lifecycle_version = "2.2.0"
|
2020-03-20 00:04:22 +01:00
|
|
|
def room_version = "2.2.5"
|
2019-01-28 13:30:07 +01:00
|
|
|
|
2020-01-28 23:47:38 +01:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2020-03-24 15:56:22 +01:00
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5'
|
2020-06-11 01:19:45 +02:00
|
|
|
implementation 'androidx.core:core-ktx:1.3.0'
|
|
|
|
implementation 'androidx.fragment:fragment-ktx:1.2.5'
|
2019-09-05 21:41:25 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
2020-02-10 11:02:03 +01:00
|
|
|
implementation 'com.google.android.material:material:1.1.0'
|
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-05-21 00:13:21 +02:00
|
|
|
implementation 'androidx.drawerlayout:drawerlayout:1.1.0-rc01'
|
2020-04-16 16:24:32 +02:00
|
|
|
implementation 'androidx.preference:preference-ktx:1.1.1'
|
2019-12-21 16:37:23 +01:00
|
|
|
implementation 'androidx.browser:browser:1.2.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-03-06 16:45:49 +01:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.12.10'
|
2020-04-29 01:02:35 +02:00
|
|
|
implementation 'com.squareup.okio:okio:2.6.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
|
|
|
}
|