Allow tests to run on all JDKs
MODIFY
dd-java-agent/instrumentation/akka-http-10.0/akka-http-10.0.gradle
dd-java-agent/instrumentation/akka-http-10.0/akka-http-10.0.gradle
@@ -41,6 +41,3 @@ dependencies {
test.dependsOn lagomTest
testJava8Minimum += '*Test*.class'
-
-// These classes use Ratpack which requires Java 8. (Currently also incompatible with Java 9.)
-testJava8Only += '**/AkkaHttpClientInstrumentationTest.class'

MODIFY
dd-java-agent/instrumentation/apache-httpclient-4.3/apache-httpclient-4.3.gradle
dd-java-agent/instrumentation/apache-httpclient-4.3/apache-httpclient-4.3.gradle
@@ -24,9 +24,6 @@ versionScan {
apply from: "${rootDir}/gradle/java.gradle"
-// These classes use Ratpack which requires Java 8. (Currently also incompatible with Java 9.)
-testJava8Only += '**/ApacheHttpClientTest.class'
-
apply plugin: 'org.unbroken-dome.test-sets'
testSets {

MODIFY
dd-java-agent/instrumentation/aws-java-sdk-1.11.0/aws-java-sdk-1.11.0.gradle
dd-java-agent/instrumentation/aws-java-sdk-1.11.0/aws-java-sdk-1.11.0.gradle
@@ -46,9 +46,6 @@ testSets {
}
}
-// These classes use Ratpack which requires Java 8. (Currently also incompatible with Java 9.)
-testJava8Only += '**/AWSClientTest.class'
-
dependencies {
compileOnly group: 'com.amazonaws', name: 'aws-java-sdk-core', version: '1.11.0'

MODIFY
dd-java-agent/instrumentation/aws-java-sdk-1.11.106/aws-java-sdk-1.11.106.gradle
dd-java-agent/instrumentation/aws-java-sdk-1.11.106/aws-java-sdk-1.11.106.gradle
@@ -19,9 +19,6 @@ testSets {
}
}
-// These classes use Ratpack which requires Java 8. (Currently also incompatible with Java 9.)
-testJava8Only += '**/AWSClientTest.class'
-
dependencies {
compileOnly group: 'com.amazonaws', name: 'aws-java-sdk-core', version: '1.11.106'

MODIFY
dd-java-agent/instrumentation/http-url-connection/http-url-connection.gradle
dd-java-agent/instrumentation/http-url-connection/http-url-connection.gradle
apply from: "${rootDir}/gradle/java.gradle"
-// These classes use Ratpack which requires Java 8. (Currently also incompatible with Java 9.)
-testJava8Only += '**/*Test.class'
-
dependencies {
compile project(':dd-java-agent:agent-tooling')

MODIFY
dd-java-agent/instrumentation/jax-rs-client/jax-rs-client.gradle
dd-java-agent/instrumentation/jax-rs-client/jax-rs-client.gradle
apply from: "${rootDir}/gradle/java.gradle"
-// These classes use Ratpack which requires Java 8. (Currently also incompatible with Java 9.)
-testJava8Only += '**/*.class'
-
dependencies {
compileOnly group: 'javax.ws.rs', name: 'javax.ws.rs-api', version: '2.1'
compileOnly group: 'javax.annotation', name: 'javax.annotation-api', version: '1.2'

MODIFY
dd-java-agent/instrumentation/okhttp-3/okhttp-3.gradle
dd-java-agent/instrumentation/okhttp-3/okhttp-3.gradle
@@ -14,9 +14,6 @@ versionScan {
apply from: "${rootDir}/gradle/java.gradle"
-// These classes use Ratpack which requires Java 8. (Currently also incompatible with Java 9.)
-testJava8Only += '**/OkHttp3Test.class'
-
apply plugin: 'org.unbroken-dome.test-sets'
testSets {

MODIFY
dd-trace-ot/dd-trace-ot.gradle
dd-trace-ot/dd-trace-ot.gradle
@@ -15,9 +15,6 @@ excludedClassesConverage += [
'datadog.trace.common.sampling.PrioritySampling'
]
-// These classes use Ratpack which requires Java 8. (Currently also incompatible with Java 9.)
-testJava8Only += 'datadog/trace/api/writer/DDApiTest.class'
-
apply plugin: 'org.unbroken-dome.test-sets'
testSets {

Allow tests to run on all JDKs