Skip to content

"Execution optimizations have been disabled" Warning on Gradle >= 7 #103

@magneticflux-

Description

@magneticflux-

An example of the warnings:

Execution optimizations have been disabled for task ':jetpack-compose-optics:compileKotlin' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/home/runner/work/jetpack-compose-optics/jetpack-compose-optics/jetpack-compose-optics/build/classes/kotlin/main'. Reason: Task ':jetpack-compose-optics:generateChangelog' uses this output of task ':jetpack-compose-optics:compileKotlin' 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: '/home/runner/work/jetpack-compose-optics/jetpack-compose-optics/jetpack-compose-optics/build/kotlin/compileKotlin'. Reason: Task ':jetpack-compose-optics:generateChangelog' uses this output of task ':jetpack-compose-optics:compileKotlin' 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.

And the full log: https://github.com/magneticflux-/jetpack-compose-optics/runs/2769627239#step:5:38

Maybe only the .git folder should be provided as input?

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