From b3db525f0ff7f64bf34d2ffa1b68d802c48f4cd1 Mon Sep 17 00:00:00 2001 From: fhiyo <13327262+fhiyo@users.noreply.github.com> Date: Sun, 28 Sep 2025 11:42:48 +0900 Subject: [PATCH] Use non-deprecated syntax to configure sourceCompatibility See gh-47339 Signed-off-by: fhiyo <13327262+fhiyo@users.noreply.github.com> --- .../modules/tutorial/pages/first-application/index.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc index 4672aa25dcf..153ee420f89 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc @@ -180,7 +180,10 @@ apply plugin: 'io.spring.dependency-management' group = 'com.example' version = '0.0.1-SNAPSHOT' -sourceCompatibility = '17' + +java { + sourceCompatibility = '17' +} repositories { mavenCentral()