Skip to content

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

@ivan-moego

Description

@ivan-moego

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions