masked-view icon indicating copy to clipboard operation
masked-view copied to clipboard

Gradle 7 warning

Open schmod opened this issue 4 years ago • 0 comments

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.```

schmod avatar Nov 03 '21 20:11 schmod