mirror of
https://github.com/element-hq/element-android
synced 2024-12-22 17:20:48 +03:00
c7efd1feb9
Signed-off-by: aqulu <dev@aqu.lu>
48 lines
1.2 KiB
Groovy
48 lines
1.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
// Multidex is useful for tests
|
|
multiDexEnabled true
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.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 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'io.reactivex.rxjava2:rxkotlin:2.3.0'
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:$kotlin_coroutines_version"
|
|
|
|
// Paging
|
|
implementation "androidx.paging:paging-runtime-ktx:2.1.2"
|
|
|
|
// Logging
|
|
implementation 'com.jakewharton.timber:timber:4.7.1'
|
|
}
|