mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 05:04:52 +00:00
Preparation for moving to Gradle 7.0 - Improve Jakarta transformation handling (tests are also actually run now as a bonus); - Improved CacheableHbmXmlTest to not write "ser" file to `${buildDir}/resources/test` - Improved DatabaseService(Plugin) - Update a number of plugins which did not handle up-to-date-ness properly
54 lines
1.1 KiB
Groovy
54 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>.
|
|
*/
|
|
|
|
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.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
|
|
}
|
|
|
|
|