Skip to content

Commit 3f2591c

Browse files
authored
Merge pull request johnlpage#17 from ozgliderpilot/main
Allow 17+ JDK use while still building JDK 17 compatible jars
2 parents aa7bd56 + e0afb83 commit 3f2591c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

memex/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ version = '1.0'
1010
description = 'MongoDB Enterprise Microservice Examples'
1111

1212
java {
13-
toolchain {
14-
languageVersion = JavaLanguageVersion.of(17)
15-
}
13+
sourceCompatibility = JavaVersion.VERSION_17
14+
targetCompatibility = JavaVersion.VERSION_17
1615
}
1716

1817
repositories {

0 commit comments

Comments
 (0)