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

57 lines
1.7 KiB
Groovy
Raw Normal View History

plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
}
android {
namespace "org.matrix.android.sdk.flow"
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"
}
2022-10-07 20:34:36 +08:00
// publishNonDefault true
}
2022-10-07 20:34:36 +08:00
//configurations {
// kotlinCryptoDebugImplementation
// kotlinCryptoReleaseImplementation
// rustCryptoDebugImplementation
// rustCryptoReleaseImplementation
//}
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")
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
}