32 lines
759 B
Groovy
32 lines
759 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
coreJdk()
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
compileOnly deps.autoValueAnnotations
|
|
annotationProcessor deps.autoValue
|
|
|
|
// jdbc unit testing
|
|
testLibrary "com.h2database:h2:1.3.169"
|
|
// first version jdk 1.6 compatible
|
|
testLibrary "org.apache.derby:derby:10.6.1.0"
|
|
testLibrary "org.hsqldb:hsqldb:2.0.0"
|
|
|
|
testLibrary "org.apache.tomcat:tomcat-jdbc:7.0.19"
|
|
// tomcat needs this to run
|
|
testLibrary "org.apache.tomcat:tomcat-juli:7.0.19"
|
|
testLibrary "com.zaxxer:HikariCP:2.4.0"
|
|
testLibrary "com.mchange:c3p0:0.9.5"
|
|
|
|
latestDepTestLibrary "org.apache.derby:derby:10.14.+"
|
|
}
|
|
|
|
tasks.withType(Test).configureEach {
|
|
jvmArgs "-Dotel.instrumentation.jdbc-datasource.enabled=true"
|
|
}
|