/* * 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 . */ apply from: rootProject.file( 'gradle/published-java-module.gradle' ) description = 'Support for testing Hibernate ORM functionality' dependencies { compile project( ':hibernate-core' ) compile( libraries.junit ) compile( libraries.junit5_api ) compile( libraries.junit5_jupiter ) compile( libraries.junit5_params ) compile( 'org.hamcrest:hamcrest-all:1.3' ) runtime( libraries.junit5_vintage ) runtime( libraries.junit5_jupiter ) compile( libraries.byteman ) compile( libraries.byteman_install ) compile( libraries.byteman_bmunit ) compile( libraries.xapool ) compile( libraries.log4j ) compile( libraries.jboss_jta ) { transitive = false; } compile( 'javax.money:money-api:1.0.1' ) compile( 'org.javamoney:moneta:1.1' ) annotationProcessor( project( ':hibernate-jpamodelgen' ) ) testRuntime( libraries.h2 ) testRuntime( libraries.log4j ) } // resources inherently exclude sources sourceSets.test.resources { setSrcDirs( ['src/test/java'] ) } // todo : Fold into hibernate-core and publish in separate publications // once http://issues.gradle.org/browse/GRADLE-2966 is resolved; // that will allow us to keep the same artifactId and publish the pom // with proper dependencies