/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ description = 'Support for testing Hibernate ORM functionality' apply from: rootProject.file( 'gradle/published-java-module.gradle' ) configurations { tests } dependencies { api project( ':hibernate-core' ) api libraries.junit api libraries.junit5_api api libraries.junit5_params api 'org.hamcrest:hamcrest-all:1.3' api libraries.assertj api libraries.mockito api libraries.mockito_inline api libraries.byteman api libraries.byteman_install api libraries.byteman_bmunit api libraries.xapool api( libraries.jboss_tx_spi ) { transitive=false; } api( libraries.jboss_jta ) { transitive=false; } api 'javax.money:money-api:1.0.1' api 'org.javamoney:moneta:1.1' api libraries.log4j2 } tasks.test.include '**/*' task testJar(type: Jar, dependsOn: testClasses) { duplicatesStrategy = DuplicatesStrategy.EXCLUDE archiveClassifier.set( 'test' ) from sourceSets.test.output } artifacts { tests tasks.testJar }