fix: enable core library desugaring
This commit is contained in:
parent
ef5685ce63
commit
0fa3093d0c
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,8 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
|
isCoreLibraryDesugaringEnabled = true
|
||||||
|
|
||||||
sourceCompatibility = Versions.java
|
sourceCompatibility = Versions.java
|
||||||
targetCompatibility = Versions.java
|
targetCompatibility = Versions.java
|
||||||
}
|
}
|
||||||
|
@ -111,5 +113,7 @@ dependencies {
|
||||||
implementation(libs.jellyfin.core)
|
implementation(libs.jellyfin.core)
|
||||||
implementation(libs.media3.ffmpeg.decoder)
|
implementation(libs.media3.ffmpeg.decoder)
|
||||||
|
|
||||||
|
coreLibraryDesugaring(libs.android.desugar.jdk)
|
||||||
|
|
||||||
debugImplementation(libs.androidx.compose.ui.tooling)
|
debugImplementation(libs.androidx.compose.ui.tooling)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue