2021-10-07 11:11:44 +02:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'org.jetbrains.kotlin.android'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-10-17 09:14:28 +02:00
|
|
|
namespace "org.matrix.android.sdk.flow"
|
|
|
|
|
2021-10-11 14:29:58 +02:00
|
|
|
compileSdk versions.compileSdk
|
2021-10-07 11:11:44 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
2021-10-11 14:29:58 +02:00
|
|
|
minSdk versions.minSdk
|
|
|
|
targetSdk versions.targetSdk
|
2021-10-07 11:11:44 +02: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 14:29:58 +02:00
|
|
|
sourceCompatibility versions.sourceCompat
|
|
|
|
targetCompatibility versions.targetCompat
|
2021-10-07 11:11:44 +02:00
|
|
|
}
|
|
|
|
kotlinOptions {
|
2021-10-11 14:29:58 +02:00
|
|
|
jvmTarget = "11"
|
2021-10-07 11:11:44 +02:00
|
|
|
}
|
2022-10-07 14:34:36 +02:00
|
|
|
|
|
|
|
// publishNonDefault true
|
2021-10-07 11:11:44 +02:00
|
|
|
}
|
|
|
|
|
2022-10-07 14:34:36 +02:00
|
|
|
//configurations {
|
|
|
|
// kotlinCryptoDebugImplementation
|
|
|
|
// kotlinCryptoReleaseImplementation
|
|
|
|
// rustCryptoDebugImplementation
|
|
|
|
// rustCryptoReleaseImplementation
|
|
|
|
//}
|
|
|
|
|
2021-10-07 11:11:44 +02:00
|
|
|
dependencies {
|
|
|
|
implementation project(":matrix-sdk-android")
|
2022-10-07 14:34:36 +02: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 11:11:44 +02:00
|
|
|
implementation libs.jetbrains.coroutinesCore
|
|
|
|
implementation libs.jetbrains.coroutinesAndroid
|
|
|
|
implementation libs.androidx.lifecycleLivedata
|
2022-05-18 18:22:36 +02:00
|
|
|
|
|
|
|
// Paging
|
|
|
|
implementation libs.androidx.pagingRuntimeKtx
|
2021-10-11 14:29:58 +02:00
|
|
|
}
|