Add Gradle project build scripts and configuration files.
This commit is contained in:
32
build.gradle
Normal file
32
build.gradle
Normal file
@@ -0,0 +1,32 @@
|
||||
buildscript {
|
||||
dependencies {
|
||||
classpath 'io.spring.gradle:spring-build-conventions:0.0.13.RELEASE'
|
||||
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
|
||||
}
|
||||
repositories {
|
||||
maven { url 'https://repo.spring.io/plugins-release' }
|
||||
}
|
||||
}
|
||||
|
||||
ext.IDE_GRADLE = "$rootDir/gradle/ide.gradle"
|
||||
|
||||
apply plugin: 'io.spring.convention.root'
|
||||
apply plugin: 'io.spring.convention.spring-module'
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
group = 'org.springframework.data'
|
||||
description = 'Spring Data Test Framework for Pivotal GemFire and Apache Geode'
|
||||
|
||||
ext.releaseBuild = version.endsWith('RELEASE')
|
||||
ext.snapshotBuild = version.endsWith('SNAPSHOT')
|
||||
ext.milestoneBuild = !(releaseBuild || snapshotBuild)
|
||||
|
||||
dependencies {
|
||||
|
||||
compile "org.springframework.data:spring-data-geode"
|
||||
|
||||
compile("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: "org.springframework.boot", module: "spring-boot-starter-logging";
|
||||
}
|
||||
|
||||
}
|
||||
17
gradle.properties
Normal file
17
gradle.properties
Normal file
@@ -0,0 +1,17 @@
|
||||
antlrVersion=2.7.7
|
||||
apacheGeodeVersion=1.2.1
|
||||
assertjVersion=3.9.1
|
||||
hamcrestVersion=1.3
|
||||
junitVersion=4.12
|
||||
logbackVersion=1.2.3
|
||||
mockitoVersion=2.15.0
|
||||
multithreadedtcVersion=1.01
|
||||
pivotalGemFireVersion=9.1.1
|
||||
springVersion=5.0.4.RELEASE
|
||||
springBootVersion=2.0.0.RELEASE
|
||||
springDataGemFireVersion=2.0.5.RELEASE
|
||||
springDataGeodeVersion=2.0.5.RELEASE
|
||||
springDataReleaseTrainVersion=Kay-SR5
|
||||
springIoVersion=Cairo-BUILD-SNAPSHOT
|
||||
springShellVersion=1.2.0.RELEASE
|
||||
version=1.0.0.BUILD-SNAPSHOT
|
||||
18
gradle/dependency-management.gradle
Normal file
18
gradle/dependency-management.gradle
Normal file
@@ -0,0 +1,18 @@
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom "org.springframework:spring-framework-bom:$springVersion"
|
||||
mavenBom "org.springframework.data:spring-data-releasetrain:$springDataReleaseTrainVersion"
|
||||
}
|
||||
dependencies {
|
||||
dependency "antlr:antlr:$antlrVersion"
|
||||
dependency "ch.qos.logback:logback-classic:$logbackVersion"
|
||||
dependency "ch.qos.logback:logback-core:$logbackVersion"
|
||||
dependency "edu.umd.cs.mtc:multithreadedtc:$multithreadedtcVersion"
|
||||
dependency "junit:junit:$junitVersion"
|
||||
dependency "org.assertj:assertj-core:$assertjVersion"
|
||||
dependency "org.hamcrest:hamcrest-core:$hamcrestVersion"
|
||||
dependency "org.hamcrest:hamcrest-library:$hamcrestVersion"
|
||||
dependency "org.mockito:mockito-core:$mockitoVersion"
|
||||
dependency "org.springframework.shell:spring-shell:$springShellVersion"
|
||||
}
|
||||
}
|
||||
6
gradle/ide.gradle
Normal file
6
gradle/ide.gradle
Normal file
@@ -0,0 +1,6 @@
|
||||
idea {
|
||||
module {
|
||||
testSourceDirs += file('src/integration-test/java')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user