Browse Source

Use non-deprecated syntax to configure sourceCompatibility

See gh-47339

Signed-off-by: fhiyo <13327262+fhiyo@users.noreply.github.com>
pull/47553/head
fhiyo 3 months ago committed by Stéphane Nicoll
parent
commit
b3db525f0f
  1. 5
      spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc

5
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' @@ -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()

Loading…
Cancel
Save