mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
85983562fa
https://kotlinlang.org/docs/whatsnew14.html#dependency-on-the-standard-library-added-by-default
48 lines
1.1 KiB
Groovy
48 lines
1.1 KiB
Groovy
|
|
plugins {
|
|
id 'com.android.library'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
compileSdk versions.compileSdk
|
|
|
|
defaultConfig {
|
|
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 {
|
|
sourceCompatibility versions.sourceCompat
|
|
targetCompatibility versions.targetCompat
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation project(":matrix-sdk-android")
|
|
implementation libs.androidx.appCompat
|
|
|
|
implementation libs.jetbrains.coroutinesCore
|
|
implementation libs.jetbrains.coroutinesAndroid
|
|
implementation libs.androidx.lifecycleLivedata
|
|
|
|
// Paging
|
|
implementation libs.androidx.pagingRuntimeKtx
|
|
|
|
// Logging
|
|
implementation libs.jakewharton.timber
|
|
}
|