Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gradle-example/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

# [START cloudbuild_gradle]
steps:
- name: gradle:8-jdk21
- name: gradle:9-jdk21

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

This update to Gradle 9, a major version, is likely to break the build. The Spring Boot Gradle Plugin, which this project uses, does not yet support Gradle 9. For instance, the latest Spring Boot versions explicitly state that Gradle 9.x is not yet supported. Using an unsupported Gradle version can lead to build failures and unpredictable behavior. It is recommended to wait until your project's dependencies, particularly the Spring Boot plugin, officially support Gradle 9.

entrypoint: gradle
args: ["test"]
- name: gradle:8-jdk21
- name: gradle:9-jdk21
entrypoint: gradle
args: ["assemble"]
- name: gcr.io/cloud-builders/docker
Expand Down