Skip to content

Commit 93a150c

Browse files
committed
Rearrange the project Gradle build script.
1 parent 21bf310 commit 93a150c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import io.spring.gradle.convention.Utils
22

33
buildscript {
4-
ext {
5-
snapshotBuild = Utils.isSnapshot(project)
6-
milestoneBuild = Utils.isMilestone(project)
7-
releaseBuild = Utils.isRelease(project)
8-
}
94
dependencies {
105
classpath('io.spring.gradle:spring-build-conventions:0.0.38') {
116
exclude group: "io.spring.gradle", module: "docbook-reference-plugin"
@@ -58,6 +53,11 @@ description = 'Spring Test Framework for Apache Geode'
5853
ext['spring-framework.version'] = "$springVersion"
5954
ext['spring-data-bom.version'] = "$springDataBomVersion"
6055

56+
// Define Gradle build release type (e.g. snapshot, milestone, release candidate or GA release)
57+
ext.milestoneBuild = Utils.isMilestone(project)
58+
ext.releaseBuild = Utils.isRelease(project)
59+
ext.snapshotBuild = Utils.isSnapshot(project)
60+
6161
// Define Gradle buildscript plugin to modify the generated Maven POM.
6262
ext.MAVEN_POM_EDITOR_GRADLE = "$rootDir/gradle/maven-pom-editor.gradle"
6363

0 commit comments

Comments
 (0)