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

Commit c6f1f1d

Browse files
Update grailsVersion to v5 (major) (#32)
* Update dependency org.spockframework:spock-core to v2 * Update grailsVersion to v5 * Update 3.0.0-SNAPSHOT * Update build.gradle Remove mavenLocal repo * Update to Gradle 6.9 * Downgrade to Spock 2.3-groovy-3.0 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Puneet Behl <[email protected]>
1 parent 6332be4 commit c6f1f1d

File tree

7 files changed

+205
-159
lines changed

7 files changed

+205
-159
lines changed

build.gradle

+14-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,17 @@
1-
buildscript {
2-
repositories {
3-
mavenLocal()
4-
maven { url "https://repo.grails.org/grails/core" }
5-
}
6-
dependencies {
7-
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
8-
}
9-
}
10-
111
plugins {
122
id 'org.asciidoctor.convert' version '1.5.3'
3+
id 'eclipse'
4+
id 'idea'
5+
id 'java-library'
6+
id 'org.grails.grails-plugin'
7+
id 'org.grails.internal.grails-plugin-publish'
138
}
149

1510
version project.projectVersion
1611
group "org.grails.plugins"
1712

18-
apply plugin: "eclipse"
19-
apply plugin: "idea"
20-
apply plugin: "org.grails.grails-plugin"
21-
apply plugin: "org.grails.internal.grails-plugin-publish"
22-
2313
repositories {
24-
mavenLocal()
14+
mavenCentral()
2515
maven { url "https://repo.grails.org/grails/core" }
2616
}
2717

@@ -40,18 +30,18 @@ configurations {
4030
}
4131

4232
dependencies {
43-
provided 'org.springframework.boot:spring-boot-starter-logging'
44-
provided "org.springframework.boot:spring-boot-starter-actuator"
45-
provided "org.springframework.boot:spring-boot-autoconfigure"
46-
provided "org.springframework.boot:spring-boot-starter-tomcat"
47-
provided "org.grails:grails-dependencies"
33+
api 'org.springframework.boot:spring-boot-starter-logging'
34+
api "org.springframework.boot:spring-boot-starter-actuator"
35+
api "org.springframework.boot:spring-boot-autoconfigure"
36+
api "org.springframework.boot:spring-boot-starter-tomcat"
37+
api "org.grails:grails-dependencies"
38+
api "org.grails:scaffolding-core:$scaffoldingCoreVersion"
4839
console "org.grails:grails-console"
49-
compile "org.grails:scaffolding-core:$scaffoldingCoreVersion"
5040
profile "org.grails.profiles:plugin"
51-
testCompile("org.spockframework:spock-core:${spockVersion}") {
41+
testImplementation("org.spockframework:spock-core:${spockVersion}") {
5242
exclude group:'org.codehaus.groovy', module: 'groovy-all'
5343
}
54-
documentation "org.codehaus.groovy:groovy-all:$groovyVersion"
44+
documentation "org.codehaus.groovy:groovy-all"
5545
}
5646

5747
bootRun {

buildSrc/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
repositories {
2+
mavenCentral()
3+
maven { url "https://repo.grails.org/grails/core/" }
4+
}
5+
dependencies {
6+
implementation("org.grails:grails-gradle-plugin:5.3.0")
7+
}

gradle.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Sun Feb 19 02:42:04 EST 2017
2-
grailsVersion=4.1.2
2+
grailsVersion=5.3.0
3+
grailsGradlePluginVersion=5.3.0
34
scaffoldingCoreVersion=2.1.0
4-
spockVersion=1.2-groovy-2.5
5-
groovyVersion=2.5.14
5+
spockVersion=2.3-groovy-3.0
66
projectVersion=3.0.0-SNAPSHOT

gradle/wrapper/gradle-wrapper.jar

5.82 KB
Binary file not shown.
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)