apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { compileSdkVersion 29 buildToolsVersion "29.0.3" defaultConfig { applicationId "be.digitalia.fosdem" minSdkVersion 17 targetSdkVersion 29 versionCode 1700201 versionName "2.0.1" // Supported languages resConfigs "en" vectorDrawables.useSupportLibrary = true javaCompileOptions { annotationProcessorOptions { arguments = ["room.incremental": "true"] } } } buildTypes { release { minifyEnabled true shrinkResources true proguardFiles 'proguard-defaults.txt', 'proguard-rules.pro' kotlinOptions { freeCompilerArgs = [ '-Xno-param-assertions', '-Xno-call-assertions', '-Xno-receiver-assertions' ] } } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } packagingOptions { exclude 'kotlin/**' exclude '**/*.kotlin_metadata' exclude 'META-INF/*.kotlin_module' exclude 'META-INF/*.version' exclude 'META-INF/com.android.tools/**' } androidExtensions { features = ["parcelize"] } } dependencies { def lifecycle_version = "2.2.0" def room_version = "2.2.5" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5' implementation 'androidx.core:core-ktx:1.2.0' implementation 'androidx.fragment:fragment-ktx:1.2.4' implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'com.google.android.material:material:1.1.0' implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.viewpager2:viewpager2:1.0.0' implementation 'androidx.drawerlayout:drawerlayout:1.1.0-beta01' implementation 'androidx.preference:preference-ktx:1.1.0' implementation 'androidx.browser:browser:1.2.0' implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version" implementation 'androidx.paging:paging-runtime-ktx:2.1.2' implementation "androidx.room:room-ktx:$room_version" kapt "androidx.room:room-compiler:$room_version" implementation 'com.squareup.okhttp3:okhttp:3.12.10' implementation 'com.squareup.okio:okio:2.5.0' implementation 'com.github.chrisbanes:PhotoView:2.3.0' }