Skip to content

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Sep 8, 2025

gradle :buildSrc:test is passed with Gradle 9 now.

Fix:

Could not set unknown property 'sourceCompatibility' for root project 'junit-5112049806825616538' of type org.gradle.api.Project.

and

Failed to load JUnit Platform.  Please ensure that the JUnit Platform is available on the test runtime classpath.

`gradle :buildSrc:test` is passed with Gradle 9 now.

Fix:
```
Could not set unknown property 'sourceCompatibility' for root project 'junit-5112049806825616538' of type org.gradle.api.Project.
```
and
```
Failed to load JUnit Platform.  Please ensure that the JUnit Platform is available on the test runtime classpath.
```

Signed-off-by: Yanming Zhou <[email protected]>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 8, 2025
@wilkinsona
Copy link
Member

Thanks for the PR but you should be using the wrapper to build the project. As and when we upgrade to Gradle 9 for Boot's own build, we already have these changes (among others) prepared on a branch.

@wilkinsona wilkinsona closed this Sep 8, 2025
@wilkinsona wilkinsona added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants