element-android-Github/matrix-sdk-android-flow/build.gradle

43 lines
1003 B
Groovy
Raw Normal View History

plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
}
android {
2021-10-11 20:29:58 +08:00
compileSdk versions.compileSdk
defaultConfig {
2021-10-11 20:29:58 +08:00
minSdk versions.minSdk
targetSdk versions.targetSdk
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
}
kotlinOptions {
2021-10-11 20:29:58 +08:00
jvmTarget = "11"
}
}
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
}