2021-10-07 17:11:44 +08:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'org.jetbrains.kotlin.android'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-10-17 15:14:28 +08:00
|
|
|
namespace "org.matrix.android.sdk.flow"
|
|
|
|
|
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 {
|
2024-07-16 00:12:08 +08:00
|
|
|
jvmTarget = versions.jvmTarget
|
2021-10-07 17:11:44 +08:00
|
|
|
}
|
2022-10-07 20:34:36 +08:00
|
|
|
|
|
|
|
// publishNonDefault true
|
2021-10-07 17:11:44 +08:00
|
|
|
}
|
|
|
|
|
2022-10-07 20:34:36 +08:00
|
|
|
//configurations {
|
|
|
|
// kotlinCryptoDebugImplementation
|
|
|
|
// kotlinCryptoReleaseImplementation
|
|
|
|
// rustCryptoDebugImplementation
|
|
|
|
// rustCryptoReleaseImplementation
|
|
|
|
//}
|
|
|
|
|
2021-10-07 17:11:44 +08:00
|
|
|
dependencies {
|
|
|
|
implementation project(":matrix-sdk-android")
|
2022-10-07 20:34:36 +08:00
|
|
|
// kotlinCryptoDebugImplementation project(path: ":matrix-sdk-android", configuration :"kotlinCryptoDebug")
|
|
|
|
// kotlinCryptoReleaseImplementation project(path: ":matrix-sdk-android", configuration :"kotlinCryptoRelease")
|
|
|
|
// rustCryptoDebugImplementation project(path: ":matrix-sdk-android", configuration :"rustCryptoDebug")
|
|
|
|
// rustCryptoReleaseImplementation project(path: ":matrix-sdk-android", configuration :"rustCryptoDebug")
|
2021-10-07 17:11:44 +08:00
|
|
|
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
|
|
|
}
|