jenkinsci / gradle-jpi-plugin

Build Jenkins Plugins with Gradle
79 stars 50 forks source link

`generateTestHpl` missing dependency on `processResources` #206

Closed sghill closed 1 year ago

sghill commented 1 year ago

Running tests against unreleased Gradle versions fails because of a warning:

 > Task :generateTestHpl
    Execution optimizations have been disabled for task ':generateTestHpl' to ensure correctness due to the following reasons:
      - Gradle detected a problem with the following location: '/tmp/spock_sources_and_javadoc_0_projectDir2162128167107562326/build/resources/main'. Reason: Task ':generateTestHpl' uses this output of task ':processResources' 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.6-20221021231540+0000/userguide/validation_problems.html#implicit_dependency for more details about this problem.