diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..b488fbc --- /dev/null +++ b/build.gradle @@ -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"; + } + +} diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..5d2953c --- /dev/null +++ b/gradle.properties @@ -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 diff --git a/gradle/dependency-management.gradle b/gradle/dependency-management.gradle new file mode 100644 index 0000000..6368bc4 --- /dev/null +++ b/gradle/dependency-management.gradle @@ -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" + } +} diff --git a/gradle/ide.gradle b/gradle/ide.gradle new file mode 100644 index 0000000..91a35f6 --- /dev/null +++ b/gradle/ide.gradle @@ -0,0 +1,6 @@ +idea { + module { + testSourceDirs += file('src/integration-test/java') + } +} +