Skip to content

Commit de534d3

Browse files
committed
fix: preserve Java 8 compatibility in Gradle's module metadata
1 parent 9071678 commit de534d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ subprojects {
88

99
apply plugin: 'java-library'
1010

11+
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
12+
1113
ext {
1214
junitVersion = '5.8.2' // https://search.maven.org/artifact/org.junit.jupiter/junit-jupiter-api
1315
logbackVersion = '1.2.7' // https://search.maven.org/artifact/ch.qos.logback/logback-core

0 commit comments

Comments
 (0)