apply from: "$rootDir/gradle/instrumentation.gradle" muzzle { pass { group = "org.hibernate" module = "hibernate-core" versions = "[4.3.0.Final,)" assertInverse = true } } dependencies { library "org.hibernate:hibernate-core:4.3.0.Final" implementation project(':instrumentation:hibernate:hibernate-common:javaagent') testInstrumentation project(':instrumentation:jdbc:javaagent') // Added to ensure cross compatibility: testInstrumentation project(':instrumentation:hibernate:hibernate-3.3:javaagent') testInstrumentation project(':instrumentation:hibernate:hibernate-4.0:javaagent') testLibrary "org.hibernate:hibernate-entitymanager:4.3.0.Final" testImplementation "org.hsqldb:hsqldb:2.0.0" testImplementation "javax.xml.bind:jaxb-api:2.3.1" testImplementation "org.glassfish.jaxb:jaxb-runtime:2.3.3" // hibernate 6 is alpha so use 5 as latest version latestDepTestLibrary "org.hibernate:hibernate-core:5.+" latestDepTestLibrary "org.hibernate:hibernate-entitymanager:5.+" }