We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddc420f commit 2c0b2b2Copy full SHA for 2c0b2b2
httpClient/build.gradle
@@ -9,4 +9,19 @@ repositories {
9
dependencies {
10
testImplementation group: 'org.testng', name: 'testng', version: '7.5.1'
11
testImplementation group: 'org.wiremock', name: 'wiremock', version: '3.12.1'
12
+}
13
+
14
+// wiremock 3.x requires Java 11+; override test classpath attributes so Gradle
15
+// resolves it correctly while keeping production code at Java 8
16
+configurations {
17
+ testCompileClasspath {
18
+ attributes {
19
+ attribute(Attribute.of("org.gradle.jvm.version", Integer), 11)
20
+ }
21
22
+ testRuntimeClasspath {
23
24
25
26
27
}
0 commit comments