Skip to content

Commit

Permalink
Merge pull request #1859 from grails/use-more-grails-bom-version
Browse files Browse the repository at this point in the history
use more versions from grails-bom
  • Loading branch information
jdaugherty authored Jan 11, 2025
2 parents e4a4dc8 + 75d8d7f commit 8f342f5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ subprojects {

dependencies {
api platform("org.grails:grails-bom:$grailsVersion")
api "jakarta.annotation:jakarta.annotation-api:$jakartaAnnotationApiVersion"
api "jakarta.annotation:jakarta.annotation-api"
implementation "jakarta.validation:jakarta.validation-api"
compileOnly "com.github.spotbugs:spotbugs-annotations"

Expand Down
2 changes: 0 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ gradleNexusPluginVersion=2.3.1
gradleNexusPublishPluginVersion=1.3.0
grailsVersion=7.0.0-M1
groovyVersion=4.0.24
hibernateValidatorVersion=7.0.5.Final
javassistVersion=3.30.2-GA
jakartaAnnotationApiVersion=3.0.0
picocliVersion=4.7.6
rxjavaVersion=1.3.8

Expand Down
2 changes: 1 addition & 1 deletion grails-datastore-gorm-rx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies {
}
api project(":grails-datastore-core")
implementation "org.javassist:javassist:$javassistVersion"
compileOnly("org.hibernate:hibernate-validator:$hibernateValidatorVersion")
compileOnly("org.hibernate.validator:hibernate-validator")
documentation "org.springframework:spring-beans"
documentation "org.grails:grails-async"
}
4 changes: 2 additions & 2 deletions grails-datastore-gorm-validation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ dependencies {
exclude group: 'commons-beanutils', module:'commons-beanutils'
}

compileOnly("org.hibernate:hibernate-validator:$hibernateValidatorVersion")
testImplementation("org.hibernate:hibernate-validator:$hibernateValidatorVersion")
compileOnly("org.hibernate.validator:hibernate-validator")
testImplementation("org.hibernate.validator:hibernate-validator")
}
4 changes: 2 additions & 2 deletions grails-datastore-gorm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ dependencies {
compileOnlyApi("jakarta.el:jakarta.el-api:$jakartaElVersion")
runtimeOnly "org.glassfish:jakarta.el:$jakartaElGlassfishImplVersion"

compileOnly("org.hibernate:hibernate-validator:$hibernateValidatorVersion")
compileOnly("org.hibernate.validator:hibernate-validator")
compileOnly("org.springframework:spring-jdbc")
compileOnly("org.springframework:spring-web")
testImplementation("org.springframework:spring-jdbc")
testImplementation("org.hibernate:hibernate-validator:$hibernateValidatorVersion")
testImplementation("org.hibernate.validator:hibernate-validator")
testRuntimeOnly("com.h2database:h2")
}

Expand Down

0 comments on commit 8f342f5

Please # to comment.