hibernate-orm/hibernate-micrometer/hibernate-micrometer.gradle

33 lines
859 B
Groovy
Raw Normal View History

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 {
implementation project( ':hibernate-core' )
implementation libraries.jpa
implementation libraries.micrometer
2020-11-17 17:39:43 -05: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
}
}
}