Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSL element 'dexOptions' is obsolete and should be removed. #234

Open
ivan-moego opened this issue Nov 20, 2024 · 0 comments
Open

DSL element 'dexOptions' is obsolete and should be removed. #234

ivan-moego opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ivan-moego
Copy link

I am currently using v1.4.3, build.gradle is configured like this:

dexOptions {
    // Ensures incremental builds remain fast
    preDexLibraries true
    // Required to build with Reader SDK
    jumboMode true
    // Required to build with Reader SDK
    keepRuntimeAnnotatedClasses false
}

When I upgraded to react native v0.76.2, gradle has also been upgraded to 8.10.0, So I saw this 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.
Affected Modules: app, react-native-square-reader-sdk.

so can it be adapted?

@ivan-moego ivan-moego added the bug Something isn't working label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant