33 lines
859 B
Groovy
33 lines
859 B
Groovy
description = 'Integration for Micrometer metrics into Hibernate as a metrics collection package'
|
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
|
|
|
|
|
dependencies {
|
|
implementation project( ':hibernate-core' )
|
|
implementation libraries.jpa
|
|
implementation libraries.micrometer
|
|
|
|
testImplementation project( ':hibernate-testing' )
|
|
testImplementation libraries.mockito
|
|
testImplementation libraries.mockito_inline
|
|
|
|
testAnnotationProcessor project( ':hibernate-jpamodelgen' )
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|