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

Switch to grails-bom #396

Merged
merged 2 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ buildscript {
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsGradlePluginVersion"
classpath platform("org.grails:grails-bom:${grailsVersion}")
classpath "org.grails:grails-gradle-plugin"
}
}

Expand All @@ -30,12 +31,14 @@ repositories {
}

dependencies {
implementation platform("org.grails:grails-bom:${grailsVersion}")

compileOnly 'org.springframework.boot:spring-boot-starter-logging'
compileOnly "org.springframework.boot:spring-boot-starter-actuator"
compileOnly "org.springframework.boot:spring-boot-autoconfigure"
compileOnly "org.springframework.boot:spring-boot-starter-tomcat"
compileOnly "org.grails:grails-plugin-controllers"
compileOnly "org.grails.plugins:gsp:${grailsVersion}"
compileOnly "org.grails.plugins:gsp"

testImplementation "org.grails:grails-web-testing-support"
testImplementation "org.grails:grails-gorm-testing-support"
Expand All @@ -49,7 +52,7 @@ dependencies {

testRuntimeOnly "net.bytebuddy:byte-buddy:$byteBuddyVersion"

testImplementation "org.grails:grails-datastore-gorm-hibernate5:$gormHibernate5Version"
testImplementation "org.grails:grails-datastore-gorm-hibernate5"
}

tasks.withType(Test).configureEach {
Expand Down
3 changes: 0 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#Mon, 08 Apr 2024 19:48:24 +0000
projectVersion=6.0.0-SNAPSHOT
grailsVersion=7.0.0-SNAPSHOT
grailsGradlePluginVersion=7.0.0-SNAPSHOT
grailsScaffoldingVersion=2.1.0
gormHibernate5Version=9.0.0-SNAPSHOT
joddWotVersion=3.3.8
byteBuddyVersion=1.14.12
asciidoc=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class FieldsGrailsPlugin extends Plugin {

static final String CONSTRAINTS_EVALULATOR_BEAN_NAME = 'validateableConstraintsEvaluator'

def grailsVersion = '5.0 > *'
def grailsVersion = '7.0.0-SNAPSHOT > *'

def loadAfter = ['domainClass']

Expand Down
Loading