diff --git a/dd-java-agent/instrumentation/java-lang/build.gradle b/dd-java-agent/instrumentation/java-lang/build.gradle index 8258d36ba37..74bdd7ed385 100644 --- a/dd-java-agent/instrumentation/java-lang/build.gradle +++ b/dd-java-agent/instrumentation/java-lang/build.gradle @@ -12,8 +12,3 @@ addTestSuiteForDir('latestDepTest', 'test') dependencies { testRuntimeOnly project(':dd-java-agent:instrumentation:iast-instrumenter') } - -tasks.compileTestJava.configure { - setJavaVersion(it, 8) -} - diff --git a/dd-java-agent/instrumentation/java-net/build.gradle b/dd-java-agent/instrumentation/java-net/build.gradle index 8258d36ba37..74bdd7ed385 100644 --- a/dd-java-agent/instrumentation/java-net/build.gradle +++ b/dd-java-agent/instrumentation/java-net/build.gradle @@ -12,8 +12,3 @@ addTestSuiteForDir('latestDepTest', 'test') dependencies { testRuntimeOnly project(':dd-java-agent:instrumentation:iast-instrumenter') } - -tasks.compileTestJava.configure { - setJavaVersion(it, 8) -} - diff --git a/dd-java-agent/instrumentation/javax-naming/build.gradle b/dd-java-agent/instrumentation/javax-naming/build.gradle index 167588643d4..74bdd7ed385 100644 --- a/dd-java-agent/instrumentation/javax-naming/build.gradle +++ b/dd-java-agent/instrumentation/javax-naming/build.gradle @@ -12,9 +12,3 @@ addTestSuiteForDir('latestDepTest', 'test') dependencies { testRuntimeOnly project(':dd-java-agent:instrumentation:iast-instrumenter') } - - -tasks.compileTestJava.configure { - setJavaVersion(it, 8) -} -