Enable play testing for java8+
MODIFY
dd-java-agent/instrumentation/play-2.4/play-2.4.gradle
dd-java-agent/instrumentation/play-2.4/play-2.4.gradle
@@ -20,7 +20,7 @@ dependencies {
}
test {
- if (JavaVersion.current().isJava8Compatible()) {
+ if (!JavaVersion.current().isJava8Compatible()) {
exclude '*Play*Test*'
}
}

MODIFY
dd-java-agent/instrumentation/play-2.4/play-2.6-testing/play-2.6-testing.gradle
dd-java-agent/instrumentation/play-2.4/play-2.6-testing/play-2.6-testing.gradle
@@ -21,7 +21,7 @@ dependencies {
}
test {
- if (JavaVersion.current().isJava8Compatible()) {
+ if (!JavaVersion.current().isJava8Compatible()) {
exclude '*Play*Test*'
}
}

Enable play testing for java8+