2020-11-17 17:39:43 -05:00
|
|
|
description = 'Integration for Micrometer metrics into Hibernate as a metrics collection package'
|
|
|
|
|
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-14 15:59:59 -04:00
|
|
|
implementation project( ':hibernate-core' )
|
|
|
|
implementation libraries.jpa
|
|
|
|
implementation libraries.micrometer
|
2020-11-17 17:39:43 -05:00
|
|
|
|
2021-05-14 15:59:59 -04:00
|
|
|
testImplementation project( ':hibernate-testing' )
|
|
|
|
testImplementation libraries.mockito
|
|
|
|
testImplementation libraries.mockito_inline
|
|
|
|
|
|
|
|
testAnnotationProcessor project( ':hibernate-jpamodelgen' )
|
2020-11-17 17:39:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
// resources inherently exclude sources
|
|
|
|
test {
|
|
|
|
resources {
|
|
|
|
setSrcDirs( ['src/test/java','src/test/resources'] )
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
testJavassist {
|
|
|
|
java {
|
|
|
|
compileClasspath += main.output + test.output
|
|
|
|
runtimeClasspath += main.output + test.output
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|