From a95eab90aa1e80b46245b73ad87d94abe76109f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Berg=20Glasius?= Date: Tue, 2 Jan 2024 22:42:52 +0100 Subject: [PATCH] Specified specific scaffold version --- build.gradle | 6 +++--- gradle.properties | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index eecb7a6a..0704f15d 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ dependencies { compileOnly "org.grails:grails-web-boot" compileOnly "org.grails:grails-dependencies" - implementation "org.grails:scaffolding-core" + implementation "org.grails:scaffolding-core:$grailsScaffoldingVersion" testImplementation "org.grails:grails-web-testing-support" testImplementation "org.grails:grails-gorm-testing-support" @@ -55,13 +55,13 @@ dependencies { } } -tasks.withType(GroovyCompile) { +tasks.withType(GroovyCompile).configureEach { configure(groovyOptions) { forkOptions.jvmArgs = ['-Xmx1024m'] } } -tasks.withType(Test) { +tasks.withType(Test).configureEach { useJUnitPlatform() } diff --git a/gradle.properties b/gradle.properties index b9f7b09c..f3717256 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,6 +2,7 @@ version=4.0.1-SNAPSHOT grailsVersion=5.3.5 grailsGradlePluginVersion=5.3.1 +grailsScaffoldingVersion=2.1.0 joddWotVersion=3.3.8 asciidoc=true githubSlug=gpc/fields