This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +2
-34
lines changed
examples/spring-boot-hibernate5 Expand file tree Collapse file tree 4 files changed +2
-34
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change @@ -17,14 +17,6 @@ version rootProject.version
1717apply plugin : ' groovy'
1818apply 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-
2820dependencies {
2921 documentation " org.grails:grails-core:$grailsVersion "
3022 documentation " org.grails:grails-bootstrap:$grailsVersion "
Original file line number Diff line number Diff 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
1111apply plugin : ' java'
1212apply plugin : ' org.springframework.boot'
13- apply plugin :" groovy"
13+ apply plugin : " groovy"
1414
1515group ' 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- }
2417dependencies {
2518 implementation(" org.springframework.boot:spring-boot-starter" )
2619 implementation(" org.springframework.boot:spring-boot-starter-web" )
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ servletApiVersion=6.0.0
3131snakeYamlVersion =2.3
3232slf4jVersion =2.0.16
3333spockVersion =2.3-groovy-4.0
34- springBootVersion =3.3.5
3534testingSupportVersion =4.0.0-SNAPSHOT
3635tomcatLog4jVersion =8.5.2
3736tomcatVersion =10.1.31
You can’t perform that action at this time.
0 commit comments