File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
dd-java-agent/instrumentation/selenium Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ plugins {
22 id ' java-test-fixtures'
33}
44
5+ ext {
6+ latestDepTestMinJavaVersionForTests = JavaVersion . VERSION_11
7+ }
8+
59apply from : " $rootDir /gradle/java.gradle"
610
711muzzle {
@@ -38,9 +42,8 @@ configurations.matching({ it.name.startsWith('test') || it.name.startsWith('late
3842 }
3943})
4044
41- tasks. matching { it. name. startsWith(' latestDepTest' ) || it. name. contains(' LatestDepTest' ) }. each {
42- it. onlyIf {
43- // Only run latest dep tests tasks (including compilation) if the current JVM is compatible with the latest Selenium version
44- JavaVersion . current(). isCompatibleWith(JavaVersion . VERSION_11 )
45- }
45+ tasks. named(" compileLatestDepTestJava" ). configure {
46+ setJavaVersion(it, 11 )
47+ sourceCompatibility = JavaVersion . VERSION_1_8
48+ targetCompatibility = JavaVersion . VERSION_1_8
4649}
You can’t perform that action at this time.
0 commit comments