2018-10-28 19:18:14 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
|
|
android {
|
2021-09-15 11:28:58 +02:00
|
|
|
compileSdk versions.compileSdk
|
2018-10-28 19:18:14 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
2021-09-15 11:28:58 +02:00
|
|
|
minSdk versions.minSdk
|
|
|
|
targetSdk versions.targetSdk
|
2018-10-28 19:18:14 +01:00
|
|
|
|
2019-10-24 17:32:16 +02:00
|
|
|
// Multidex is useful for tests
|
|
|
|
multiDexEnabled true
|
2019-01-16 19:25:43 +01:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2018-10-28 19:18:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-13 11:00:50 +01:00
|
|
|
compileOptions {
|
2021-09-15 11:28:58 +02:00
|
|
|
sourceCompatibility versions.sourceCompat
|
|
|
|
targetCompatibility versions.targetCompat
|
2018-12-13 11:00:50 +01:00
|
|
|
}
|
|
|
|
|
2019-09-27 11:42:46 +02:00
|
|
|
kotlinOptions {
|
2021-09-29 09:56:32 +02:00
|
|
|
jvmTarget = "1.8"
|
2019-09-27 11:42:46 +02:00
|
|
|
}
|
2018-10-28 19:18:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-09-17 13:58:44 +02:00
|
|
|
|
2018-10-28 19:18:14 +01:00
|
|
|
implementation project(":matrix-sdk-android")
|
2021-09-15 11:28:58 +02:00
|
|
|
implementation libs.androidx.appCompat
|
|
|
|
implementation libs.rx.rxKotlin
|
|
|
|
implementation libs.rx.rxAndroid
|
|
|
|
implementation libs.jetbrains.coroutinesRx2
|
2020-12-02 12:45:31 +01:00
|
|
|
|
2019-07-30 14:51:14 +02:00
|
|
|
// Paging
|
2021-09-17 13:58:44 +02:00
|
|
|
implementation libs.androidx.pagingRuntimeKtx
|
2018-10-28 19:18:14 +01:00
|
|
|
|
2020-02-01 10:09:22 +01:00
|
|
|
// Logging
|
2021-09-15 11:28:58 +02:00
|
|
|
implementation libs.jakewharton.timber
|
2018-10-28 19:18:14 +01:00
|
|
|
}
|