ResourcePlaceholdersPlugin icon indicating copy to clipboard operation
ResourcePlaceholdersPlugin copied to clipboard

Warning from gradle about disabled optimisations

Open t1u1 opened this issue 2 years ago • 0 comments

Hi,

Thanks for creating this plugin!

I have recently been seeing the below warnings from gradle. I think they started after upgrading to Gradle 7.0, and they are still visible with Gradle 7.2.

Doesn't affect any functionality, but might be good to address the warnings.

> Task :app:extractDeepLinksAppNameRelease
Execution optimizations have been disabled for task ':app:extractDeepLinksAppNameRelease' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: 'app/build/generated/res/resourcesPlaceholders/AppName/release/navigation'. Reason: Task ':app:extractDeepLinksAppNameRelease' uses this output of task ':app:resourcePlaceholdersForAppNameRelease' 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.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.


Execution optimizations have been disabled for 2 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

t1u1 avatar Feb 09 '22 04:02 t1u1