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 all commits
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
11 changes: 7 additions & 4 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 @@ -47,9 +50,9 @@ dependencies {
exclude module: 'asm'
}

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

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

tasks.withType(Test).configureEach {
Expand Down
4 changes: 0 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
#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

org.gradle.caching=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