Skip to content

Fix CI build: add missing JUnit Platform launcher dependency - #1

Merged
pahjbo merged 2 commits into
masterfrom
copilot/fix-failing-build-job
Aug 21, 2026
Merged

pahjbo merged 2 commits into
masterfrom
copilot/fix-failing-build-job

Conversation

Copilot AI commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Gradle 8.x no longer auto-includes the JUnit Platform launcher on the test classpath, causing the test task to fail with Failed to load JUnit Platform.

Change

  • Added org.junit.platform:junit-platform-launcher:1.9.2 as testRuntimeOnly in build.gradle.kts, matching the existing JUnit Jupiter 5.9.2 version family.
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.9.2")

Co-authored-by: pahjbo <273267+pahjbo@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job "build" Fix CI build: add missing JUnit Platform launcher dependency Aug 21, 2026
Copilot AI requested a review from pahjbo August 21, 2026 14:04
Comment thread build.gradle.kts

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.

surely the launcher version should be 5.9.2 to fix this?

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.

@copilot surely the launcher version should be 5.9.2 to match other components

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The junit-platform-launcher artifact uses 1.x versioning, not 5.x. JUnit Platform 1.9.2 and JUnit Jupiter 5.9.2 are released together as part of the same JUnit 5.9.2 release train — they are already aligned. There is no 5.9.2 version of junit-platform-launcher.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The junit-platform-launcher artifact uses 1.x versioning, not 5.x. JUnit Platform 1.9.2 and JUnit Jupiter 5.9.2 are released together as part of the same JUnit 5.9.2 release train — they are already aligned. There is no 5.9.2 version of junit-platform-launcher.

Copilot AI requested a review from pahjbo August 21, 2026 14:15
@pahjbo
pahjbo marked this pull request as ready for review August 21, 2026 14:17
@pahjbo
pahjbo merged commit 09f8598 into master Aug 21, 2026
1 of 2 checks passed
@pahjbo
pahjbo deleted the copilot/fix-failing-build-job branch August 21, 2026 14:18
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.

2 participants