11dependencies {
2- api " org.slf4j:slf4j-api: $s lf4jVersion "
2+ api " org.slf4j:slf4j-api"
33
4- api " org.apache.groovy:groovy: $g roovyVersion "
4+ api " org.apache.groovy:groovy"
55 api " org.grails:grails-datastore-gorm"
66 api " org.springframework:spring-orm"
7- api( " org.hibernate:hibernate-core-jakarta:$hibernateVersion " ) {
7+ api " org.hibernate:hibernate-core-jakarta:$hibernateVersion " , {
88 exclude group :' commons-logging' , module :' commons-logging'
99 exclude group :' com.h2database' , module :' h2'
1010 exclude group :' commons-collections' , module :' commons-collections'
@@ -13,13 +13,13 @@ dependencies {
1313 exclude group :' org.slf4j' , module :' slf4j-log4j12'
1414 exclude group :' xml-apis' , module :' xml-apis'
1515 }
16- api( " org.hibernate:hibernate-validator: $h ibernateValidatorVersion " ) {
16+ api " org.hibernate.validator :hibernate-validator" , {
1717 exclude group :' commons-logging' , module :' commons-logging'
1818 exclude group :' commons-collections' , module :' commons-collections'
1919 exclude group :' org.slf4j' , module :' slf4j-api'
2020 }
2121
22- compileOnly ( " org.hibernate:hibernate-ehcache:$hibernateVersion " ) {
22+ compileOnly " org.hibernate:hibernate-ehcache:$hibernateVersion " , {
2323 exclude group :' commons-collections' , module :' commons-collections'
2424 exclude group :' commons-logging' , module :' commons-logging'
2525 exclude group :' com.h2database' , module :' h2'
@@ -32,9 +32,9 @@ dependencies {
3232 exclude group :' xml-apis' , module :' xml-apis'
3333 }
3434
35- testImplementation " org.apache.groovy:groovy-test-junit5: $g roovyVersion "
36- testImplementation " org.apache.groovy:groovy-sql: $g roovyVersion "
37- testImplementation " org.apache.groovy:groovy-json: $g roovyVersion "
35+ testImplementation " org.apache.groovy:groovy-test-junit5"
36+ testImplementation " org.apache.groovy:groovy-sql"
37+ testImplementation " org.apache.groovy:groovy-json"
3838 testImplementation " org.grails:grails-datastore-gorm-tck:$gormVersion " , {
3939 exclude group : " org.spockframework"
4040 }
@@ -43,16 +43,17 @@ dependencies {
4343 testImplementation " org.hibernate:hibernate-ehcache:$hibernateVersion "
4444
4545 // groovy proxy fixes bytebuddy to be a bit smarter when it comes to groovy metaClass
46- testImplementation " org.yakworks:hibernate-groovy-proxy:$yakworksHibernateGroovyProxyVersion "
46+ testImplementation " org.yakworks:hibernate-groovy-proxy:$yakworksHibernateGroovyProxyVersion " , {
47+ exclude group : " org.codehaus.groovy" , module : " groovy"
48+ }
4749
48- testImplementation " org.apache.tomcat:tomcat-jdbc: $t omcatVersion "
50+ testImplementation " org.apache.tomcat:tomcat-jdbc"
4951 testRuntimeOnly " org.springframework:spring-aop"
50- testRuntimeOnly " org.apache.tomcat.embed:tomcat-embed-logging-log4j:$tomcatLog4jVersion "
5152
52- testRuntimeOnly " org.slf4j:slf4j-simple: $s lf4jVersion "
53- testRuntimeOnly " org.slf4j:jcl-over-slf4j: $s lf4jVersion "
53+ testRuntimeOnly " org.slf4j:slf4j-simple"
54+ testRuntimeOnly " org.slf4j:jcl-over-slf4j"
5455 // The groovydoc task needs the Hibernate 4.x jars in the classpath
55- documentation( " org.hibernate:hibernate-core-jakarta:${ hibernateVersion} " )
56+ documentation " org.hibernate:hibernate-core-jakarta:${ hibernateVersion} "
5657}
5758
5859test {
0 commit comments