Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditionally enable Groovy 4 for testing #20038

Merged
merged 233 commits into from
Jan 4, 2023

Conversation

lptr
Copy link
Member

@lptr lptr commented Feb 25, 2022

This is a cleaned up version of #18552.

Building with -DbundleGroovy4=true on the CLI will use Groovy 4.0.7 libs. An additional Gradleception job is already in place to invoke this code path.

If we choose to unconditionally upgrade to Groovy 4, we should revert this PR followed by setting the Groovy version value in ExternalModulesExtension.kt.

Alternatively, we could modify this PR to test forward with Groovy 5. This would likely also need temporary inclusion of apache snapshot repositories; see #20972.

Preparation PRs

TODO

Was only used in IvySpecificComponentMetadataRulesIntegrationTest, and it introduced some weird behavior with Groovy 4.
The classes are not present anymore after upgrading to Spock 2.2-M1.
It doesn't compile after upgrading to Spock 2.2-M1 anymore.
@lptr lptr added this to the 8.0 RC1 milestone Feb 25, 2022
@lptr lptr self-assigned this Feb 25, 2022
@lptr lptr force-pushed the lptr/groovy/upgrade-to-groovy-4 branch from 11faaec to 63ecde4 Compare February 25, 2022 18:15
@lptr lptr changed the base branch from master to lptr/groovy/prepare-for-spock-2.2 February 25, 2022 18:15
@lptr lptr mentioned this pull request Feb 25, 2022
15 tasks
@lptr lptr force-pushed the lptr/groovy/upgrade-to-groovy-4 branch from 789e8a2 to 68efd53 Compare February 25, 2022 22:45
@lptr lptr force-pushed the lptr/groovy/upgrade-to-groovy-4 branch from 68efd53 to 2edf760 Compare February 25, 2022 22:51
@gradle gradle deleted a comment from lptr Feb 25, 2022
@gradle gradle deleted a comment from eskatos Sep 28, 2022
@gradle gradle deleted a comment from DPUkyle Sep 28, 2022
@DPUkyle
Copy link
Contributor

DPUkyle commented Sep 30, 2022

Note: this is currently blocked pending resolution of GROOVY-10772

@lptr
Copy link
Member Author

lptr commented Oct 3, 2022

Hm. When looking at performance regressions I remember that in some of our tests we've seen an increase in GC time. Could this be the reason, I wonder?

@big-guy big-guy assigned octylFractal and unassigned DPUkyle Oct 21, 2022
@octylFractal octylFractal modified the milestones: 8.0 RC1, 8.1 RC1 Dec 7, 2022
@octylFractal octylFractal requested review from a team as code owners December 30, 2022 01:26
@big-guy
Copy link
Member

big-guy commented Jan 4, 2023

@bot-gradle test this

@gradle gradle deleted a comment from DPUkyle Jan 4, 2023
@bot-gradle
Copy link
Collaborator

I've triggered the following builds for you:

@big-guy big-guy changed the title Conditionally enable Groovy 4 Conditionally enable Groovy 4 for testing Jan 4, 2023
@octylFractal
Copy link
Member

@bot-gradle test and merge

@gradle gradle deleted a comment from octylFractal Jan 4, 2023
@bot-gradle
Copy link
Collaborator

I've triggered a build for you.

@bot-gradle bot-gradle merged commit 1a167b8 into master Jan 4, 2023
@bot-gradle bot-gradle deleted the lptr/groovy/upgrade-to-groovy-4 branch January 4, 2023 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@core Issue owned by GBT Core in:groovy-dsl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants