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

Commit a505b20

Browse files
committed
Remove no longer needed configuraitons.all closures
1 parent 33f7ea6 commit a505b20

File tree

4 files changed

+2
-34
lines changed

4 files changed

+2
-34
lines changed

build.gradle

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -94,22 +94,6 @@ subprojects { Project subproject ->
9494
}
9595
}
9696

97-
configurations.all { Configuration configuration->
98-
configuration.resolutionStrategy.eachDependency { DependencyResolveDetails details ->
99-
if(details.requested.group == 'org.apache.groovy' && details.requested.name.startsWith('groovy')) {
100-
details.useVersion(groovyVersion)
101-
}
102-
if (details.requested.group == "org.grails" && details.requested.name.contains("testing-support")) {
103-
details.useVersion(testingSupportVersion)
104-
}
105-
if(details.requested.group == 'org.grails' &&
106-
details.requested.name.startsWith('grails-datastore') &&
107-
details.requested.name != 'grails-datastore-gorm-hibernate5') {
108-
details.useVersion(gormVersion)
109-
}
110-
}
111-
}
112-
11397
dependencies {
11498
implementation platform("org.grails:grails-bom:$grailsVersion")
11599
testImplementation "jakarta.annotation:jakarta.annotation-api"

docs/build.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ version rootProject.version
1717
apply plugin: 'groovy'
1818
apply plugin: 'org.asciidoctor.jvm.convert'
1919

20-
configurations.all {
21-
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
22-
if (details.requested.group == 'org.apache.groovy' && details.requested.name.startsWith('groovy')) {
23-
details.useVersion(groovyVersion)
24-
}
25-
}
26-
}
27-
2820
dependencies {
2921
documentation "org.grails:grails-core:$grailsVersion"
3022
documentation "org.grails:grails-bootstrap:$grailsVersion"

examples/spring-boot-hibernate5/build.gradle

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,16 @@ buildscript {
44
mavenCentral()
55
}
66
dependencies {
7-
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
7+
classpath("org.springframework.boot:spring-boot-gradle-plugin:3.3.5")
88
}
99
}
1010

1111
apply plugin: 'java'
1212
apply plugin: 'org.springframework.boot'
13-
apply plugin:"groovy"
13+
apply plugin: "groovy"
1414

1515
group 'examples'
1616

17-
configurations.all {
18-
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
19-
if(details.requested.group == 'org.apache.groovy' && details.requested.name.startsWith('groovy')) {
20-
details.useVersion(groovyVersion)
21-
}
22-
}
23-
}
2417
dependencies {
2518
implementation("org.springframework.boot:spring-boot-starter")
2619
implementation("org.springframework.boot:spring-boot-starter-web")

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ servletApiVersion=6.0.0
3131
snakeYamlVersion=2.3
3232
slf4jVersion=2.0.16
3333
spockVersion=2.3-groovy-4.0
34-
springBootVersion=3.3.5
3534
testingSupportVersion=4.0.0-SNAPSHOT
3635
tomcatLog4jVersion=8.5.2
3736
tomcatVersion=10.1.31

0 commit comments

Comments
 (0)