67 lines
1.5 KiB
Groovy
67 lines
1.5 KiB
Groovy
import io.spring.gradle.convention.Utils
|
|
|
|
buildscript {
|
|
ext {
|
|
snapshotBuild = Utils.isSnapshot(project)
|
|
milestoneBuild = Utils.isMilestone(project)
|
|
releaseBuild = Utils.isRelease(project)
|
|
}
|
|
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.data'
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
if (version.contains('-')) {
|
|
maven { url "https://repo.spring.io/milestone" }
|
|
}
|
|
if (version.endsWith('-SNAPSHOT')) {
|
|
maven { url "https://repo.spring.io/snapshot" }
|
|
}
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
plugins.withType(JavaPlugin) {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
description = 'Spring Test Framework for Apache Geode'
|
|
|
|
// Define dependency version overrides.
|
|
//ext['spring.version'] = "$springVersion"
|
|
ext['spring-framework.version'] = "$springVersion"
|
|
ext['spring-data-bom.version'] = "$springDataBomVersion"
|
|
|
|
nohttp {
|
|
source.exclude "**/target/**", "buildSrc/build/**"
|
|
}
|