36 lines
1.1 KiB
Groovy
36 lines
1.1 KiB
Groovy
buildscript {
|
|
dependencies {
|
|
classpath 'io.spring.gradle:spring-build-conventions:0.0.27.RELEASE'
|
|
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
|
|
}
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven { url 'https://repo.spring.io/plugins-release' }
|
|
}
|
|
}
|
|
|
|
apply plugin: 'io.spring.convention.root'
|
|
|
|
group = 'org.springframework.data'
|
|
description = 'Spring Test Framework for Apache Geode and Pivotal GemFire using Spring Data.'
|
|
|
|
ext['spring.version'] = "$springVersion"
|
|
ext['spring-framework.version'] = "$springVersion"
|
|
ext['spring-data-releasetrain.version'] = "$springDataReleaseTrainVersion"
|
|
|
|
ext.releaseBuild = version.endsWith('RELEASE')
|
|
ext.snapshotBuild = version.endsWith('SNAPSHOT')
|
|
ext.milestoneBuild = !(releaseBuild || snapshotBuild)
|
|
|
|
ext.MAVEN_POM_EDITOR_GRADLE = "$rootDir/gradle/maven-pom-editor.gradle"
|
|
|
|
project.checkstyle.sourceSets.forEach { it -> it.excludes '**/target', '**/out', '**/build' }
|
|
|
|
//project.tasks.findByName('checkstyleNohttp').configure {
|
|
// exclude '**/target/**/*', '**/out/**/*', '**/build/**/*'
|
|
//}
|
|
|
|
tasks.withType(Checkstyle) {
|
|
exclude '**/target/**/*', '**/out/**/*', '**/build/**/*'
|
|
}
|