Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Commit 1c931a1

Browse files
authored
Merge pull request #396 from jdaugherty/6.0.x
Switch to grails-bom
2 parents ca9fbb8 + 8aa912e commit 1c931a1

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

build.gradle

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ buildscript {
66
maven { url "https://repo.grails.org/grails/core" }
77
}
88
dependencies {
9-
classpath "org.grails:grails-gradle-plugin:$grailsGradlePluginVersion"
9+
classpath platform("org.grails:grails-bom:${grailsVersion}")
10+
classpath "org.grails:grails-gradle-plugin"
1011
}
1112
}
1213

@@ -30,12 +31,14 @@ repositories {
3031
}
3132

3233
dependencies {
34+
implementation platform("org.grails:grails-bom:${grailsVersion}")
35+
3336
compileOnly 'org.springframework.boot:spring-boot-starter-logging'
3437
compileOnly "org.springframework.boot:spring-boot-starter-actuator"
3538
compileOnly "org.springframework.boot:spring-boot-autoconfigure"
3639
compileOnly "org.springframework.boot:spring-boot-starter-tomcat"
3740
compileOnly "org.grails:grails-plugin-controllers"
38-
compileOnly "org.grails.plugins:gsp:${grailsVersion}"
41+
compileOnly "org.grails.plugins:gsp"
3942

4043
testImplementation "org.grails:grails-web-testing-support"
4144
testImplementation "org.grails:grails-gorm-testing-support"
@@ -47,9 +50,9 @@ dependencies {
4750
exclude module: 'asm'
4851
}
4952

50-
testRuntimeOnly "net.bytebuddy:byte-buddy:$byteBuddyVersion"
53+
testRuntimeOnly "net.bytebuddy:byte-buddy"
5154

52-
testImplementation "org.grails:grails-datastore-gorm-hibernate5:$gormHibernate5Version"
55+
testImplementation "org.grails:grails-datastore-gorm-hibernate5"
5356
}
5457

5558
tasks.withType(Test).configureEach {

gradle.properties

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
#Mon, 08 Apr 2024 19:48:24 +0000
22
projectVersion=6.0.0-SNAPSHOT
33
grailsVersion=7.0.0-SNAPSHOT
4-
grailsGradlePluginVersion=7.0.0-SNAPSHOT
5-
grailsScaffoldingVersion=2.1.0
6-
gormHibernate5Version=9.0.0-SNAPSHOT
74
joddWotVersion=3.3.8
8-
byteBuddyVersion=1.14.12
95
asciidoc=true
106

117
org.gradle.caching=true

src/main/groovy/grails/plugin/formfields/FieldsGrailsPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class FieldsGrailsPlugin extends Plugin {
2323

2424
static final String CONSTRAINTS_EVALULATOR_BEAN_NAME = 'validateableConstraintsEvaluator'
2525

26-
def grailsVersion = '5.0 > *'
26+
def grailsVersion = '7.0.0-SNAPSHOT > *'
2727

2828
def loadAfter = ['domainClass']
2929

0 commit comments

Comments
 (0)