2021-05-14 21:47:10 +02:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-parcelize'
|
|
|
|
id 'kotlin-kapt'
|
|
|
|
id 'dagger.hilt.android.plugin'
|
|
|
|
}
|
2014-12-10 22:46:27 +01:00
|
|
|
|
|
|
|
android {
|
2021-09-18 22:45:07 +02:00
|
|
|
compileSdkVersion 31
|
2020-12-19 18:27:16 +01:00
|
|
|
buildToolsVersion "30.0.3"
|
2014-12-10 22:46:27 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
2021-09-18 11:26:27 +02:00
|
|
|
applicationId "org.matomocamp.fosdem"
|
2021-09-22 18:37:06 +02:00
|
|
|
minSdkVersion 21
|
2021-09-18 22:45:07 +02:00
|
|
|
targetSdkVersion 31
|
2021-09-22 18:12:50 +02:00
|
|
|
versionCode 1800000
|
|
|
|
versionName "3.0.0"
|
2016-05-20 00:10:08 +02:00
|
|
|
// Supported languages
|
2021-09-22 18:12:50 +02:00
|
|
|
resConfigs "en", "de", "fr"
|
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 {
|
2021-05-07 22:20:26 +02:00
|
|
|
def room_version = "2.3.0"
|
2019-01-28 13:30:07 +01:00
|
|
|
|
2021-05-14 21:47:10 +02:00
|
|
|
implementation "com.google.dagger:hilt-android:$hilt_version"
|
|
|
|
kapt "com.google.dagger:hilt-compiler:$hilt_version"
|
2021-09-22 18:37:06 +02:00
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2'
|
2021-07-10 12:03:49 +02:00
|
|
|
implementation 'androidx.core:core-ktx:1.6.0'
|
2021-07-23 12:19:11 +02:00
|
|
|
implementation 'androidx.fragment:fragment-ktx:1.3.6'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
2021-07-10 12:03:49 +02:00
|
|
|
implementation 'com.google.android.material:material:1.4.0'
|
2019-12-09 21:13:17 +01:00
|
|
|
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
|
2021-06-19 15:46:26 +02:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
2021-09-22 18:37:06 +02:00
|
|
|
implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01'
|
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'
|
2021-09-22 18:37:06 +02:00
|
|
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.3.1"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.3.1"
|
|
|
|
implementation 'androidx.paging:paging-runtime-ktx:3.0.1'
|
2020-01-28 23:47:38 +01:00
|
|
|
implementation "androidx.room:room-ktx:$room_version"
|
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
2021-09-22 18:37:06 +02:00
|
|
|
implementation "com.squareup.okhttp3:okhttp:4.9.0"
|
2021-02-04 13:49:34 +01:00
|
|
|
implementation 'com.squareup.okio:okio:2.10.0'
|
2021-04-09 19:01:58 +02:00
|
|
|
implementation 'com.squareup.moshi:moshi:1.12.0'
|
2014-12-10 22:46:27 +01:00
|
|
|
}
|