Files
spring-boot-data-geode/spring-geode-samples/boot/actuator/spring-geode-samples-boot-actuator.gradle
John Blum b67dd8430e Remove 'spring.data.gemfire.management.use-http' property configuration and JVM argument for Boot client.
The 'spring.data.gemfire.management.use-http' property was set in application.properties.
2020-08-20 15:33:50 -07:00

36 lines
927 B
Groovy

plugins {
id "io.freefair.lombok" version "5.1.0"
}
apply plugin: 'io.spring.convention.spring-sample-boot'
description = "Spring Geode Sample demonstrating the use of Spring Boot Actuator with Apache Geode."
dependencies {
compile project(":spring-geode-starter-actuator")
compile(project(":spring-geode-starter-test")) {
exclude group: "javax.servlet", module: "javax.servlet-api"
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compile "org.springframework.boot:spring-boot-starter-web"
}
task runServer(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
jvmArgs '-Dspring.profiles.active=server'
main = "example.app.temp.geode.server.BootGeodeServerApplication"
}
bootJar {
mainClassName = 'example.app.temp.geode.client.BootGeodeClientApplication'
}
bootRun {
main = 'example.app.temp.geode.client.BootGeodeClientApplication'
args "--spring.profiles.active=client"
}