fix compatibility for android < 9
This commit is contained in:
parent
2747a535da
commit
a53922b777
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,7 @@ dependencies {
|
||||||
implementation project(':libs:AXML')
|
implementation project(':libs:AXML')
|
||||||
implementation 'com.github.ipld:java-cid:v1.3.1'
|
implementation 'com.github.ipld:java-cid:v1.3.1'
|
||||||
implementation 'com.github.woltapp:blurhash:master'
|
implementation 'com.github.woltapp:blurhash:master'
|
||||||
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
|
@ -156,6 +156,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
|
coreLibraryDesugaringEnabled true
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue