This seems to break device compatibility with a ZTE Blade L3, Android 5.0.2, stock ROM - even though the Google Play Developer Console views the device as supported. Not sure how long we want to stick to Java 8, but we should at least give everyone who had v1.2.0 installed the chance to get to v1.2.2, to get a version with the recent security vulerability fix. This reverts commit 80f23f1f3c798dd650dffb3f24b2d957a16e4743. Change-Id: If599d9154e9385a33f10b6df17469cd86deccb7b
49 lines
1.2 KiB
Groovy
49 lines
1.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 30
|
|
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.3.1'
|
|
implementation 'io.reactivex.rxjava2:rxkotlin:2.4.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:5.0.1'
|
|
}
|