2018-10-28 19:18:14 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
|
|
android {
|
2021-01-04 15:12:49 +01:00
|
|
|
compileSdkVersion 30
|
2018-10-28 19:18:14 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
2020-06-18 14:18:40 +02:00
|
|
|
minSdkVersion 21
|
2021-01-04 15:12:49 +01:00
|
|
|
targetSdkVersion 30
|
2018-10-28 19:18:14 +01:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
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-02 09:50:34 +02:00
|
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
|
|
targetCompatibility JavaVersion.VERSION_11
|
2018-12-13 11:00:50 +01:00
|
|
|
}
|
|
|
|
|
2019-09-27 11:42:46 +02:00
|
|
|
kotlinOptions {
|
2021-09-02 09:50:34 +02:00
|
|
|
jvmTarget = "11"
|
2019-09-27 11:42:46 +02:00
|
|
|
}
|
2018-10-28 19:18:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(":matrix-sdk-android")
|
2021-07-22 14:13:24 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
2021-02-20 11:20:10 +01:00
|
|
|
implementation 'io.reactivex.rxjava2:rxkotlin:2.4.0'
|
2019-07-02 09:39:45 +02:00
|
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
2020-12-08 11:04:30 +01:00
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:$kotlin_coroutines_version"
|
2020-12-02 12:45:31 +01:00
|
|
|
|
2019-07-30 14:51:14 +02:00
|
|
|
// Paging
|
2020-07-06 15:59:49 +02:00
|
|
|
implementation "androidx.paging:paging-runtime-ktx:2.1.2"
|
2018-10-28 19:18:14 +01:00
|
|
|
|
2020-02-01 10:09:22 +01:00
|
|
|
// Logging
|
2021-08-23 15:12:59 +02:00
|
|
|
implementation 'com.jakewharton.timber:timber:5.0.1'
|
2018-10-28 19:18:14 +01:00
|
|
|
}
|