react-native-masked-view / masked-view

React Native Masked View Library
MIT License
962 stars 121 forks source link

Gradle 7 warning #144

Open schmod opened 2 years ago

schmod commented 2 years ago

Building this project with Gradle 7 (and Android Gradle Plugin v7) yields some new warnings:

Execution optimizations have been disabled for task ':react-native-masked-view_masked-view:bundleLibCompileToJarDebug' to ensure correctness due to the following reasons:

  • Gradle detected a problem with the following location: '/Users/schmod/code/my-project/node_modules/@react-native-masked-view/masked-view/android/build/intermediates/compile_r_class_jar/debug/R.jar'. Reason: Task ':react-native-masked-view_masked-view:bundleLibCompileToJarDebug' uses this output of task ':@react-native-masked-view_masked-view:generateDebugRFile' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.0.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.

    • Gradle detected a problem with the following location: '/Users/schmod/code/my-project/node_modules/@react-native-masked-view/masked-view/android/build/intermediates/javac/debug/classes'. Reason: Task ':react-native-masked-view_masked-view:bundleLibCompileToJarDebug' uses this output of task ':@react-native-masked-view_masked-view:compileDebugJavaWithJavac' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.0.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.```