Skip to content

Commit

Permalink
Use gradle Java configuration block
Browse files Browse the repository at this point in the history
  • Loading branch information
qeeqez authored and jvalkeal committed Mar 21, 2024
1 parent 3501c13 commit 400a659
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ plugins {
id "java"
}

sourceCompatibility = JavaVersion.VERSION_17;
java {
sourceCompatibility = JavaVersion.VERSION_17
}

repositories {
gradlePluginPortal()
Expand Down
5 changes: 4 additions & 1 deletion docs/src/reference/asciidoc/getting-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 400a659

Please sign in to comment.