diff --git a/build.gradle b/build.gradle index df9009b..6027213 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,13 @@ buildscript { + ext { + snapshotBuild = version.endsWith('SNAPSHOT') + releaseBuild = version.endsWith('RELEASE') + milestoneBuild = !(releaseBuild || snapshotBuild) + } repositories { mavenCentral() gradlePluginPortal() - maven { url 'https://repo.spring.io/release' } + maven { url 'https://repo.spring.io/plugins-release' } maven { url 'https://repo.spring.io/plugins-snapshot' if (project.hasProperty('artifactoryUsername')) { @@ -14,7 +19,6 @@ buildscript { } } dependencies { - classpath 'io.spring.gradle:spring-build-conventions:0.0.38' classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion" } } @@ -50,8 +54,8 @@ description = 'Spring Session for Apache Geode' //ext['spring-data-bom.version'] = "$springDataBomVersion" //ext['spring-session-bom.version'] = "$springSessionBomVersion" -ext.snapshotBuild = version.endsWith('SNAPSHOT') -ext.releaseBuild = version.endsWith('RELEASE') -ext.milestoneBuild = !(releaseBuild || snapshotBuild) - ext.MAVEN_POM_EDITOR_GRADLE = "$rootDir/gradle/maven-pom-editor.gradle" + +nohttp { + source.exclude "buildSrc/build/**" +}