Skip to content

Gradle plugin should not hardcode task dependencies #4367

Closed

Description

@erdi

Currently the Gradle plugin hardcodes dependencies from resolve task to classes, compileJava, compileTestJava, and testClasses tasks. There is no need to do any of that because the task dependencies will be inferred by Gradle based on the value of that task's classpath property. In my particular case this prevents me to be able to configure inclusion of the generated Open API specification as a resource of the main source set because it's causing circular task dependencies.

Activity

  1. nbrugger-tgm commented on Oct 17, 2024

    @nbrugger-tgm
    Contributor

    here is a fix: #4761

    disclaimer: i am not an author or maintainer so who knows if this will be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions