Add fail block for servlet 2
MODIFY
dd-java-agent/instrumentation/servlet-3/servlet-3.gradle
dd-java-agent/instrumentation/servlet-3/servlet-3.gradle
@@ -5,6 +5,11 @@ muzzle {
versions = "[3.0,)"
assertInverse = true
}
+ fail {
+ group = "javax.servlet"
+ module = 'servlet-api'
+ versions = "(,)"
+ }
}
apply from: "${rootDir}/gradle/java.gradle"

Add fail block for servlet 2