Skip to content

Commit b3db525

Browse files
fhiyosnicoll
authored andcommitted
Use non-deprecated syntax to configure sourceCompatibility
See gh-47339 Signed-off-by: fhiyo <[email protected]>
1 parent e4e3988 commit b3db525

File tree

1 file changed

+4
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application

1 file changed

+4
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ apply plugin: 'io.spring.dependency-management'
180180
181181
group = 'com.example'
182182
version = '0.0.1-SNAPSHOT'
183-
sourceCompatibility = '17'
183+
184+
java {
185+
sourceCompatibility = '17'
186+
}
184187
185188
repositories {
186189
mavenCentral()

0 commit comments

Comments
 (0)