Skip to content

fix: broken gradle CI#378

Merged
WilliamBergamin merged 3 commits into
mainfrom
bump-java-ci-versions
Sep 2, 2025
Merged

fix: broken gradle CI#378
WilliamBergamin merged 3 commits into
mainfrom
bump-java-ci-versions

Conversation

@WilliamBergamin

@WilliamBergamin WilliamBergamin commented Sep 2, 2025

Copy link
Copy Markdown
Collaborator

Type of change (place an x in the [ ] that applies)

  • New sample
  • New feature
  • Bug fix
  • Documentation

Summary

The CI pipeline is currently reporting Gradle requires JVM 17 or later to run. Your build is currently configured to use JVM 11. This aims to fix this issue

Requirements

  • I’ve checked my submission against the Samples Checklist to ensure it complies with all standards
  • I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
  • I've read and agree to the Code of Conduct

@WilliamBergamin WilliamBergamin self-assigned this Sep 2, 2025
@WilliamBergamin WilliamBergamin added bug Something isn't working github_actions Pull requests that update GitHub Actions code labels Sep 2, 2025

@zimeg zimeg 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.

@WilliamBergamin LGTM! And thanks for finding the time to keep these tests current and fast!

Comment thread build.gradle
// ***** TEST DEPENDENCIES *****
testImplementation('org.junit.jupiter:junit-jupiter-engine:5.13.4')
testImplementation('org.junit.jupiter:junit-jupiter-api:5.13.4')
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine:5.13.4')

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.

🍀 praise: Nice find! I'm not sure of what makes a difference between runtime only test dependencies and test implementations, but it's interesting to find these separate packages.

run: gradle spotlessCheck
- name: Build & Test
run: gradle test -x spotlessApply
run: gradle test -x spotlessApply --info

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.

👁️‍🗨️ praise: This is so useful for future debugging!

@WilliamBergamin
WilliamBergamin merged commit 770796e into main Sep 2, 2025
7 checks passed
@WilliamBergamin
WilliamBergamin deleted the bump-java-ci-versions branch September 2, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants