File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1+ import io.spring.gradle.convention.Utils
2+
13buildscript {
24 repositories {
35 mavenCentral()
@@ -44,14 +46,16 @@ allprojects {
4446
4547description = ' Spring Session for Apache Geode'
4648
47- // ext['groovy. version'] = "$groovyVersion"
49+ // Define dependency version override Gradle Project extension properties.
4850// ext['spring.version'] = "$springVersion"
4951// ext['spring-framework.version'] = "$springVersion"
5052// ext['spring-data-bom.version'] = "$springDataBomVersion"
5153// ext['spring-session-bom.version'] = "$springSessionBomVersion"
5254
53- ext. snapshotBuild = version. endsWith(' SNAPSHOT' )
54- ext. releaseBuild = version. endsWith(' RELEASE' )
55- ext. milestoneBuild = ! (releaseBuild || snapshotBuild)
55+ // Define Gradle build in terms of the type of release (e.g. snapshot, milestone or GA release).
56+ ext. snapshotBuild = Utils . isSnapshot(project)
57+ ext. milestoneBuild = Utils . isMilestone(project)
58+ ext. releaseBuild = Utils . isRelease(project)
5659
60+ // Declare maven-pom-editor Gradle script plugin.
5761ext. MAVEN_POM_EDITOR_GRADLE = " $rootDir /gradle/maven-pom-editor.gradle"
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
22deployDocsHost =docs-ip.spring.io
33apacheGeodeVersion =1.14.2
44findbugsVersion =3.0.2
5- # The Spring Boot & Spring Session version are the only required version properties.
6- # The other Spring version properties are for overriding/testing purposes.
75springVersion =5.3.14
86springBootVersion =2.6.2
97springDataBomVersion =2021.1.0
You can’t perform that action at this time.
0 commit comments