mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
49 lines
1.1 KiB
Groovy
49 lines
1.1 KiB
Groovy
|
|
||
|
plugins {
|
||
|
id 'com.android.library'
|
||
|
id 'org.jetbrains.kotlin.android'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdk 31
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk 21
|
||
|
targetSdk 31
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
consumerProguardFiles "consumer-rules.pro"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
kotlinOptions {
|
||
|
jvmTarget = '1.8'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
|
||
|
implementation project(":matrix-sdk-android")
|
||
|
implementation libs.androidx.appCompat
|
||
|
|
||
|
implementation libs.jetbrains.kotlinStdlibJdk7
|
||
|
implementation libs.jetbrains.coroutinesCore
|
||
|
implementation libs.jetbrains.coroutinesAndroid
|
||
|
implementation libs.androidx.lifecycleLivedata
|
||
|
|
||
|
// Paging
|
||
|
implementation libs.androidx.pagingRuntimeKtx
|
||
|
|
||
|
// Logging
|
||
|
implementation libs.jakewharton.timber
|
||
|
|
||
|
}
|