/*
 * 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' )

dependencies {
    api project( ':hibernate-core' )

    api testLibs.junit4
    api testLibs.junit5Api
    api testLibs.junit5Params

    api 'org.hamcrest:hamcrest-all:1.3'
    api testLibs.assertjCore

    api testLibs.mockito
    api testLibs.mockitoInline

    api testLibs.byteman
    api testLibs.bytemanInstall
    api testLibs.bytemanBmunit

    api testLibs.xapool
    api( testLibs.jbossTxSpi ) {
        transitive=false;
    }
    api( testLibs.jbossJta ) {
        transitive=false;
    }

    api 'javax.money:money-api:1.0.1'
    api 'org.javamoney:moneta:1.1'

    api testLibs.log4j2

    implementation libs.hcann
    implementation libs.jandex
    implementation testLibs.wildFlyTxnClient
}

tasks.checkstyleMain {
    exclude '**/org/hibernate/orm/test/legacy/**'
}