Files
spring-boot-data-geode/spring-geode/spring-geode.gradle
John Blum 5ca11cbc44 Declare 'com.google.code.findbugs:jsr305' as a compileOnly/testCompileOnly depedency to cleanup Gradle build warnings.
Without this dependency the Gradle build logs warnings about:

> Task :spring-geode-autoconfigure:compileTestJava
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
...
2020-07-23 14:57:01 -07:00

49 lines
1.4 KiB
Groovy

plugins {
id "io.freefair.lombok" version "5.1.0"
}
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot for Apache Geode"
dependencies {
compile project(':apache-geode-extensions')
compile "org.springframework:spring-context-support"
compile "org.springframework:spring-jcl"
compile "org.springframework.boot:spring-boot-starter"
compile("org.springframework.data:spring-data-geode") {
exclude group: "javax.servlet", module: "javax.servlet-api"
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
optional "org.springframework:spring-test"
testCompile "junit:junit"
testCompile "org.assertj:assertj-core"
testCompile "org.mockito:mockito-core"
testCompile "org.projectlombok:lombok"
testCompile "org.testcontainers:testcontainers"
testCompile "edu.umd.cs.mtc:multithreadedtc"
testCompile("org.springframework.boot:spring-boot-starter-test") {
exclude group: "org.skyscreamer", module: "jsonassert"
}
testCompile "org.springframework.boot:spring-boot-starter-data-jpa"
testCompile "org.springframework.boot:spring-boot-starter-data-cassandra"
testCompile("org.springframework.data:spring-data-geode-test") {
exclude group: "javax.servlet", module: "javax.servlet-api"
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
testRuntime "org.hsqldb:hsqldb"
}