2018-10-29 02:18:14 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
|
|
android {
|
2020-03-26 17:06:50 +08:00
|
|
|
compileSdkVersion 29
|
2018-10-29 02:18:14 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
2020-06-18 20:18:40 +08:00
|
|
|
minSdkVersion 21
|
2020-03-26 17:06:50 +08:00
|
|
|
targetSdkVersion 29
|
2018-10-29 02:18:14 +08:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
2019-10-24 23:32:16 +08:00
|
|
|
// Multidex is useful for tests
|
|
|
|
multiDexEnabled true
|
2019-01-17 02:25:43 +08:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2018-10-29 02:18:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-13 18:00:50 +08:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2019-09-27 17:42:46 +08:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
2018-10-29 02:18:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(":matrix-sdk-android")
|
2020-10-06 21:44:30 +08:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
2018-10-29 02:18:14 +08:00
|
|
|
implementation 'io.reactivex.rxjava2:rxkotlin:2.3.0'
|
2019-07-02 15:39:45 +08:00
|
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
2020-12-08 18:04:30 +08:00
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:$kotlin_coroutines_version"
|
2020-12-02 19:45:31 +08:00
|
|
|
|
2019-07-30 20:51:14 +08:00
|
|
|
// Paging
|
2020-07-06 21:59:49 +08:00
|
|
|
implementation "androidx.paging:paging-runtime-ktx:2.1.2"
|
2018-10-29 02:18:14 +08:00
|
|
|
|
2020-02-01 17:09:22 +08:00
|
|
|
// Logging
|
|
|
|
implementation 'com.jakewharton.timber:timber:4.7.1'
|
2018-10-29 02:18:14 +08:00
|
|
|
}
|