diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 386bcc71f..38c7f16a4 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -3,7 +3,9 @@ plugins { id "java" } -sourceCompatibility = JavaVersion.VERSION_17; +java { + sourceCompatibility = JavaVersion.VERSION_17 +} repositories { gradlePluginPortal() diff --git a/docs/src/reference/asciidoc/getting-started.adoc b/docs/src/reference/asciidoc/getting-started.adoc index b14d3bbab..bcf896cc9 100644 --- a/docs/src/reference/asciidoc/getting-started.adoc +++ b/docs/src/reference/asciidoc/getting-started.adoc @@ -101,7 +101,10 @@ apply plugin: 'io.spring.dependency-management' group = 'com.example' version = '0.0.1-SNAPSHOT' -sourceCompatibility = 1.8 + +java { + sourceCompatibility = JavaVersion.VERSION_1_8 +} repositories { mavenCentral()