Skip to content

Commit e0afb83

Browse files
committed
Allow 17+ JDK use while still building JDK 17 compatible jars.
1 parent aa7bd56 commit e0afb83

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)