wix / react-native-notifications

React Native Notifications
MIT License
3.25k stars 764 forks source link

dexOptions is obsolete #1034

Open matt-dalton opened 8 months ago

matt-dalton commented 8 months ago

I'm getting this error when creating a production build with fastlane on android:

> Configure project :react-native-notifications
WARNING: DSL element 'dexOptions' is obsolete and should be removed.
It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.

Android gradle plugin: 8.1.1
Gradle: 8.3

FAILURE: Build failed with an exception.

Does this dexOptions config need changing to something else? Anyone aware of a workaround in the meantime? I could patch the package to use a different configuration if required.