wix / react-native-notifications

React Native Notifications
MIT License
3.23k stars 763 forks source link

dexOptions is obsolete #1034

Open matt-dalton opened 6 months ago

matt-dalton commented 6 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.