Skip to content

Commit d034e97

Browse files
PerfectSlayeramarziali
authored andcommitted
fix(openfeature): Fix Java version requirements for tests (#10003)
1 parent 8a93623 commit d034e97

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

products/feature-flagging/api/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import datadog.gradle.plugin.testJvmConstraints.TestJvmConstraintsExtension
12
import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApis
23
import groovy.lang.Closure
34

@@ -10,7 +11,9 @@ plugins {
1011
apply(from = "$rootDir/gradle/java.gradle")
1112
apply(from = "$rootDir/gradle/publish.gradle")
1213

13-
val minJavaVersionForTests by extra(JavaVersion.VERSION_11)
14+
configure<TestJvmConstraintsExtension> {
15+
minJavaVersion.set(JavaVersion.VERSION_11)
16+
}
1417

1518
description = "Implementation of the OpenFeature Provider interface."
1619

0 commit comments

Comments
 (0)