Skip to content

Commit

Permalink
Update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Jun 11, 2024
1 parent e545cb6 commit 888d366
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 26 deletions.
20 changes: 4 additions & 16 deletions grace-datastore-gorm-hibernate/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,16 @@ dependencies {
api "org.graceframework:grace-datastore-gorm:$gormVersion"
api "org.springframework:spring-orm:$springVersion"
api("org.hibernate:hibernate-core-jakarta:$hibernate5Version") {
exclude group:'commons-logging', module:'commons-logging'
exclude group:'com.h2database', module:'h2'
exclude group:'commons-collections', module:'commons-collections'
exclude group:'org.slf4j', module:'jcl-over-slf4j'
exclude group:'org.slf4j', module:'slf4j-api'
exclude group:'org.slf4j', module:'slf4j-log4j12'
exclude group:'xml-apis', module:'xml-apis'
exclude group:'org.dom4j', module:'dom4j'
exclude group:'jakarta.activation', module:'jakarta.activation-api'
exclude group:'jakarta.annotation', module:'jakarta.annotation-api'
exclude group:'jakarta.persistence', module:'jakarta.persistence-api'
}
api("org.hibernate.validator:hibernate-validator:$hibernateValidatorVersion") {
exclude group:'commons-logging', module:'commons-logging'
exclude group:'commons-collections', module:'commons-collections'
exclude group:'org.slf4j', module:'slf4j-api'
}
api "jakarta.persistence:jakarta.persistence-api:$jpaVersion"
api("jakarta.annotation:jakarta.annotation-api:$jakartaAnnotationVersion")
api("jakarta.validation:jakarta.validation-api:$jakartaValidationVersion")
api("jakarta.persistence:jakarta.persistence-api:$jpaVersion")
Expand All @@ -27,16 +23,8 @@ dependencies {

compileOnly ("net.sf.ehcache:ehcache:2.10.6")
compileOnly ("org.hibernate:hibernate-ehcache:$hibernate5Version") {
exclude group:'commons-collections', module:'commons-collections'
exclude group:'commons-logging', module:'commons-logging'
exclude group:'com.h2database', module:'h2'
exclude group:'net.sf.ehcache', module:'ehcache'
exclude group:'net.sf.ehcache', module:'ehcache-core'
exclude group:'org.hibernate', module:'hibernate-core'
exclude group:'org.slf4j', module:'jcl-over-slf4j'
exclude group:'org.slf4j', module:'slf4j-api'
exclude group:'org.slf4j', module:'slf4j-log4j12'
exclude group:'xml-apis', module:'xml-apis'
}

testImplementation "org.apache.groovy:groovy-test-junit5:$groovyVersion"
Expand Down
11 changes: 1 addition & 10 deletions grace-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,7 @@ dependencies {
exclude group: 'org.graceframework', module: 'grace-datastore-gorm-validation'
}
api "org.graceframework:grace-datastore-gorm-support:$gormVersion"
api project(":grace-datastore-gorm-hibernate"), {
exclude group:'org.springframework', module:'spring-context'
exclude group:'org.springframework', module:'spring-core'
exclude group:'org.springframework', module:'spring-beans'
exclude group:'org.springframework', module:'spring-tx'
exclude group:'org.graceframework', module:'grace-bootstrap'
exclude group:'org.codehaus.groovy', module:'groovy-all'
exclude group:'org.graceframework', module:'grace-core'
exclude group:'javax.transaction', module:'jta'
}
api project(":grace-datastore-gorm-hibernate")

testImplementation "jakarta.servlet:jakarta.servlet-api:$jakartaServletVersion"
testImplementation "jakarta.persistence:jakarta.persistence-api:$jpaVersion"
Expand Down

0 comments on commit 888d366

Please sign in to comment.