Skip to content

Reduce number of Groovy dependencies to just groovy.jar#1109

Merged
leonard84 merged 2 commits into
masterfrom
szpak/reduceGroovyDeps
Mar 9, 2020
Merged

Reduce number of Groovy dependencies to just groovy.jar#1109
leonard84 merged 2 commits into
masterfrom
szpak/reduceGroovyDeps

Conversation

@szpak

@szpak szpak commented Mar 5, 2020

Copy link
Copy Markdown
Member

Spock shouldn't provide the other to do not pollute the classpath.
It's common practice nowadays to exclude transitive dependencies,
which is not good as "spock-groovy2-compat" is needed with Groovy 2.

Proposed realase notes entry:

=== Breaking Changes

==== Reduce number of transitive Groovy dependencies to just groovy.jar

Spock started to provide only one Groovy dependency - `groovy.jar`. The others,
in the majority of cases were not needed in the end projects and were only polluting classpath
(or excluded explicitly). If other Groovy dependencies are needed in the project,
they have to be provided explicitly.

This change is Reviewable

Spock shouldn't provide the other to do not pollute the classpath.
It's common practice nowadays to exclude transitive dependencies,
which is not good as "spock-groovy2-compat" is needed with Groovy 2.
@codecov

codecov Bot commented Mar 5, 2020

Copy link
Copy Markdown

Codecov Report

Merging #1109 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1109   +/-   ##
=========================================
  Coverage     74.24%   74.24%           
  Complexity     3472     3472           
=========================================
  Files           385      385           
  Lines         10661    10661           
  Branches       1309     1309           
=========================================
  Hits           7915     7915           
  Misses         2285     2285           
  Partials        461      461

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4796084...3472375. Read the comment docs.

@Vampire

Vampire commented Mar 5, 2020

Copy link
Copy Markdown
Member

-has +have in the release notes

Comment thread build.gradle Outdated
@szpak szpak requested review from Vampire and leonard84 March 6, 2020 09:27
Comment thread build.gradle Outdated
Comment thread spock-spring/boot-test/boot-test.gradle Outdated
End projects which need that dependency, should declare
it explicitly.
@szpak szpak force-pushed the szpak/reduceGroovyDeps branch from 32bc516 to 3472375 Compare March 8, 2020 20:03

@Vampire Vampire left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@leonard84 leonard84 merged commit 875dad9 into master Mar 9, 2020
@szpak szpak deleted the szpak/reduceGroovyDeps branch March 9, 2020 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants