Files
spring-boot-data-geode/build.gradle
John Blum bcf2a138e4 Review, refactor and polish (local) Spring Build Conventions Gradle Plugins.
Remove the gradle/maven-pom-editor.gradle build script as this logic (concern) is handled by the MavenPlushingConventionsPlugin.

Clean up associated Gradle project build scripts affected by the Gradle Plugin changes.
2022-01-27 16:57:52 -08:00

54 lines
1.2 KiB
Groovy

import io.spring.gradle.convention.Utils
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
maven { url 'https://repo.spring.io/plugins-release' }
maven {
url 'https://repo.spring.io/plugins-snapshot'
if (project.hasProperty('artifactoryUsername')) {
credentials {
username "$artifactoryUsername"
password "$artifactoryPassword"
}
}
}
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
}
}
apply plugin: 'io.spring.convention.root'
allprojects {
group = 'org.springframework.geode'
repositories {
if (version.contains('-')) {
maven { url "https://repo.spring.io/milestone" }
}
if (version.endsWith('-SNAPSHOT')) {
maven { url "https://repo.spring.io/snapshot" }
}
}
}
nohttp {
source.excludes = [ "**/.gradle/**", "**/.m2/**" ]
}
description = 'Spring Boot for Apache Geode'
//ext['spring.version'] = "$springVersion"
//ext['spring-framework.version'] = "$springVersion"
//ext['spring-data-bom.version'] = "$springDataBomVersion"
//ext['spring-session-bom.version'] = "$springSessionBomVersion"
ext.snapshotBuild = Utils.isSnapshot(project)
ext.milestoneBuild = Utils.isMilestone(project)
ext.releaseBuild = Utils.isRelease(project)