Skip to content

Conversation

@PaintNinja
Copy link
Contributor

This PR updates to jUnit 6 and newer Google Compile Testing, as well as some minor cleanup.

https://github.com/junit-team/junit-framework/wiki/Upgrading-to-JUnit-6.0

The jUnit 6 upgrade was far easier than expected - they removed long-deprecated APIs, bumped the min Java to 17, switched to jSpecify, etc. All those requirements were already met so ended up being a case of bumping some numbers and confirming nothing broke.

Google in their infinite wisdom says that com.google.testing.compile 0.22.0+ needs JVM flags manually added to export JDK internals to everyone and doesn't explain why, but seems to be unnecessary for this project as far as I can tell because it works same as usual without them. The auto-value transitive dep manual version bump workaround is no longer needed though which is nice.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant