Skip to content

Commit 245fd5e

Browse files
committed
Fix to use JavaVersion from gradle.properties
1 parent f3dc9d6 commit 245fd5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

functional-tests/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dependencies {
5252
}
5353

5454
java {
55-
sourceCompatibility = JavaVersion.toVersion("11")
55+
sourceCompatibility = JavaVersion.toVersion(javaVersion)
5656
}
5757
tasks.withType(Test).configureEach {
5858
useJUnitPlatform()

gradle/java-config.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
java {
2-
sourceCompatibility = JavaVersion.VERSION_11
2+
sourceCompatibility = JavaVersion.toVersion(javaVersion)
33
withSourcesJar()
44
withJavadocJar()
55
}

0 commit comments

Comments
 (0)