Skip to content

[Bug]: test-support build has an undeclared JAR task dependency #12136

Closed

Description

@codefish1

Problem

On the current main build, Gradle 8.14.3 can reject :test-support:build during task validation: :test-support:test consumes the output of :test-support:jar without an explicit task dependency. The aggregate build can stop before the support-module tests run.

Reproduction

Run ./gradlew :test-support:build --no-build-cache with Gradle 8.14.3. Gradle reports the implicit dependency between the test and jar tasks. This is a build wiring issue in the test-support module, independent of production code.

Expected result

Declare the task ordering in test-support/build.gradle, for example tasks.named('test') { dependsOn tasks.named('jar') }, so the module build and tests pass Gradle's task validation.

Suggested label: type/bug.

Activity

  1. divyanagrath commented on Nov 9, 2026

    @divyanagrath

    Hi maintainers,

    I'd like to investigate and work on this issue.

    I'll first reproduce the Gradle task validation failure locally, inspect the task dependency configuration in the test-support module, and submit a minimal fix with verification.

    Please let me know if anyone is already working on this or if there are any preferred implementation considerations.

    Thanks!

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

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