docs: remove desugaring section as no more need on media3 1.4.1 (#4206)

This commit is contained in:
Olivier Bouillet 2024-09-29 20:46:11 +02:00 committed by GitHub
parent b11f05f175
commit 0c6b47f42c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 11 deletions

View File

@ -86,11 +86,6 @@ buildscript {
} }
``` ```
### Desugaring
to be able to link you may also need to enable coreLibraryDesugaringEnabled in your app.
See: https://developer.android.com/studio/write/java8-support?hl=fr#library-desugaring for more informations.
## It's still not working ## It's still not working
You can try to open a ticket now ! You can try to open a ticket now !

View File

@ -83,10 +83,6 @@ android {
namespace "com.videoplayer" namespace "com.videoplayer"
compileOptions { compileOptions {
// These options are necessary to be able to build from source
// coreLibraryDesugaringEnabled is mandatory to be able to build exoplayer from source
// uncomment this line if you want to build from source
// coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_11 sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11
} }
@ -157,8 +153,6 @@ dependencies {
because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib") because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
} }
} }
// coreLibraryDesugaring is mandatory to be able to build exoplayer from source
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
} }
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)