HHH-17362 - Define dependencies of hibernate-jpamodelgen as api

https://hibernate.atlassian.net/browse/HHH-17362
This commit is contained in:
Steve Ebersole 2023-11-16 05:54:58 -06:00
parent 637838d92b
commit 5b6373fb34
1 changed files with 8 additions and 9 deletions

View File

@ -19,20 +19,19 @@ ext {
} }
dependencies { dependencies {
implementation jakartaLibs.jaxbApi
implementation jakartaLibs.jaxb
implementation libs.antlrRuntime
implementation project( ':hibernate-core' ) implementation project( ':hibernate-core' )
implementation libs.byteBuddy
// ewww... but Maven needs them this way, and it is irrelevant to Gradle which is smarter here
api jakartaLibs.jaxbApi
api jakartaLibs.jaxb
api jakartaLibs.validation
api jakartaLibs.annotation
api libs.antlrRuntime
api libs.byteBuddy
xjc jakartaLibs.xjc xjc jakartaLibs.xjc
xjc jakartaLibs.jaxb xjc jakartaLibs.jaxb
xjc rootProject.fileTree(dir: 'patched-libs/jaxb2-basics', include: '*.jar') xjc rootProject.fileTree(dir: 'patched-libs/jaxb2-basics', include: '*.jar')
testImplementation project( ':hibernate-core' )
testImplementation jakartaLibs.validation
testImplementation jakartaLibs.annotation
} }
sourceSets.main { sourceSets.main {