Skip to content

[Feature]: Spock integration should not export Spock dependency #7540

@musketyr

Description

@musketyr

Module

None

Problem

Spock is always released against the multiple Major versions of Groovy. For example version 2.3 has been released for Groovy 2.5, 3,0 and 4.0.

Upgrading Groovy is non-trivial tasks and it's not possible for many frameworks to upgrade to the latest Groovy.

Solution

Revert to not exporting the Spock dependency into the POM as it was before 1.18.0

Benefit

Testcontainers Spock can be upgraded beyond 1.17.6 for developers not using yet Groovy 4

Alternatives

Publish the Spock artifacts fore ach Groovy version the same way how Spock is doing

Would you like to help contributing this feature?

Yes

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