Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4007

Gradle 7 highlights "Execution optimization" issues with gradle build

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.11.2.2
    • Fix Version/s: None
    • Component/s: gradle
    • Labels:
      None
    • Urgency:
      Not urgent

      Description

      Gradle 7 is highlighting (i.e. warning) "execution optimization" issues with the build dependencies. These manifest as warnings that start:

      Execution optimizations have been disabled for task ':...' to ensure correctness due to the following reasons:
        - Gradle detected a problem with the following .... Reason: Task ':...' uses this output of task ':...' 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.4.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

      This leads to tasks being re-run that don't need to be, leading to a less efficient build process.

      Gradle 7 gives better output to pinpoint where issues lie. Fix them!

        Attachments

          Activity

            People

            Assignee:
            soares Ben Soares
            Reporter:
            soares Ben Soares
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: