2014-03-19 21:43:42 -04:00
|
|
|
dependencies {
|
|
|
|
compile project( ':hibernate-core' )
|
|
|
|
compile( libraries.jcache )
|
|
|
|
|
|
|
|
testCompile project( ':hibernate-testing' )
|
|
|
|
testCompile( libraries.mockito )
|
2017-02-08 06:08:02 -05:00
|
|
|
testCompile( libraries.mockito_inline )
|
2014-03-19 21:43:42 -04:00
|
|
|
testRuntime( libraries.ehcache3 )
|
2016-06-17 20:15:08 -04:00
|
|
|
|
|
|
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
// Java 9 ftw!
|
|
|
|
if ( JavaVersion.current().isJava9Compatible() ) {
|
|
|
|
// The JDK used to run Gradle is Java 9+, and we assume that that is the same
|
|
|
|
// JDK for executing tasks
|
|
|
|
compile( 'com.sun.xml.bind:jaxb-impl:2.2.11' )
|
|
|
|
compile( 'org.glassfish.jaxb:jaxb-xjc:2.2.11' )
|
|
|
|
compile( 'org.jvnet.jaxb2_commons:jaxb2-basics:0.11.0' )
|
|
|
|
compile( 'org.jvnet.jaxb2_commons:jaxb2-basics-ant:0.11.0' )
|
|
|
|
compile( 'javax:javaee-api:7.0' )
|
|
|
|
|
|
|
|
testCompile( 'com.sun.xml.bind:jaxb-impl:2.2.11' )
|
|
|
|
testCompile( 'org.glassfish.jaxb:jaxb-xjc:2.2.11' )
|
|
|
|
testCompile( 'org.jvnet.jaxb2_commons:jaxb2-basics:0.11.0' )
|
|
|
|
testCompile( 'org.jvnet.jaxb2_commons:jaxb2-basics-ant:0.11.0' )
|
|
|
|
testCompile( 'javax:javaee-api:7.0' )
|
|
|
|
|
|
|
|
testRuntime( 'com.sun.xml.bind:jaxb-impl:2.2.11' )
|
|
|
|
testRuntime( 'org.glassfish.jaxb:jaxb-xjc:2.2.11' )
|
|
|
|
testRuntime( 'org.jvnet.jaxb2_commons:jaxb2-basics:0.11.0' )
|
|
|
|
testRuntime( 'org.jvnet.jaxb2_commons:jaxb2-basics-ant:0.11.0' )
|
|
|
|
testRuntime( 'javax:javaee-api:7.0' )
|
|
|
|
}
|
|
|
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2014-03-19 21:43:42 -04:00
|
|
|
}
|
|
|
|
|
2016-06-02 00:20:15 -04:00
|
|
|
mavenPom {
|
|
|
|
name = 'Hibernate/JCache Integration'
|
|
|
|
description = 'Integration for javax.cache into Hibernate as a second-level caching service'
|
2014-03-19 21:43:42 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
def osgiDescription() {
|
|
|
|
return pomDescription()
|
|
|
|
}
|