Skip to content

[Bug] Incompatible with Gradle 8+ #234

Open
@MarkoCubicAgilno

Description

@MarkoCubicAgilno

Description:

When using this library with Gradle 8+, the Android build fails due to a missing dependency between tasks. Specifically:

Task ':react-native-multiple-image-picker:packageDebugResources' uses this output of task ':baronha_react-native-multiple-image-picker:generateDebugResValues' without declaring an explicit or implicit dependency.

This causes this error:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

A problem was found with the configuration of task ':react-native-multiple-image-picker:packageDebugResources' (type 'MergeResources').

Gradle detected a problem with the following location:
'.../node_modules/@baronha/react-native-multiple-image-picker/android/build/generated/res/resValues/debug'

Environment Info:

  • React Native version: 0.76.9
  • Gradle version: 8.14.2
  • Library version: 2.2.3
  • newArchEnabled=false (old architecture)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions