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

feat: [OSM-892] added support for gradle 8 #280

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

37IulianPopovici
Copy link
Contributor

@37IulianPopovici 37IulianPopovici commented Jan 15, 2024

  • Tests written and linted
  • Documentation written
  • Commit history is tidy

What this does

Adds support for Gradle 8
Enhanced tests to also run on Gradle 7 and Gradle 8

Additional questions

@37IulianPopovici 37IulianPopovici self-assigned this Jan 15, 2024
@37IulianPopovici 37IulianPopovici requested a review from a team as a code owner January 15, 2024 13:37
lib/init.gradle Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

I might be missing something but are you replacing existing tests for Gradle 7 with new tests for Gradle 8? If so, shouldn't we support both?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, before this PR, tests were running only on Gradle 4, 5 and 6 with Java version 8. What I've did was to modify the tests so they could also run with Java 17 (needed for Gradle 7 and Gradle 8)

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, but it still works for 4,5,6 on Java 8 with these changes? 🤷🏻

'-Dorg.gradle.console=plain',
'-PonlySubProject=.',
'-I',
it.each(NO_CONFIGURATION_CACHE_VERSIONS)(
Copy link
Contributor

Choose a reason for hiding this comment

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

nit, but I think the constant is making it harder to read what this test does if the variable is not re-used anywhere.

Copy link
Contributor

@dotkas dotkas left a comment

Choose a reason for hiding this comment

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

@37IulianPopovici 37IulianPopovici merged commit a121cc1 into main Jan 22, 2024
6 checks passed
@37IulianPopovici 37IulianPopovici deleted the feat/add-support-for-gradle-8 branch January 22, 2024 07:38
@snyksec
Copy link

snyksec commented Jan 22, 2024

🎉 This PR is included in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants