2021-10-07 17:11:44 +08:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'org.jetbrains.kotlin.android'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2021-10-11 20:29:58 +08:00
|
|
|
compileSdk versions.compileSdk
|
2021-10-07 17:11:44 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
2021-10-11 20:29:58 +08:00
|
|
|
minSdk versions.minSdk
|
|
|
|
targetSdk versions.targetSdk
|
2021-10-07 17:11:44 +08:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
2021-10-11 20:29:58 +08:00
|
|
|
sourceCompatibility versions.sourceCompat
|
|
|
|
targetCompatibility versions.targetCompat
|
2021-10-07 17:11:44 +08:00
|
|
|
}
|
|
|
|
kotlinOptions {
|
2021-10-11 20:29:58 +08:00
|
|
|
jvmTarget = "11"
|
2021-10-07 17:11:44 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(":matrix-sdk-android")
|
|
|
|
|
|
|
|
implementation libs.jetbrains.coroutinesCore
|
|
|
|
implementation libs.jetbrains.coroutinesAndroid
|
|
|
|
implementation libs.androidx.lifecycleLivedata
|
2022-05-19 00:22:36 +08:00
|
|
|
|
|
|
|
// Paging
|
|
|
|
implementation libs.androidx.pagingRuntimeKtx
|
2021-10-11 20:29:58 +08:00
|
|
|
}
|