hibernate-orm/hibernate-testing/hibernate-testing.gradle
Steve Ebersole 9c9d8bd0be HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive)
(cherry picked from commit 246e98c5af2c78f21710622c0937b8a6d835bab8)
2015-10-27 21:57:08 -05:00

39 lines
1.1 KiB
Groovy

/*
* 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 <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
dependencies {
compile project( ':hibernate-core' )
compile( libraries.jta )
compile( libraries.junit )
compile( libraries.byteman )
compile( libraries.byteman_install )
compile( libraries.byteman_bmunit )
compile( libraries.xapool )
compile( libraries.log4j )
compile ( libraries.jboss_jta ) {
transitive=false;
}
}
// 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
mavenPom {
name = 'Hibernate ORM Testing'
description = 'Support for testing Hibernate ORM functionality'
}
def osgiDescription() {
return mavenPom.description
}