Files
spring-boot-data-geode/spring-geode-samples/caching/inline-async/spring-geode-samples-caching-inline-async.gradle
John Blum 4112aa99a5 Exclude the 'com.sun.xml.bind:jaxb-impl' transitive dependency pulled in my 'org.apache.geode:geode-core'.
The 'jaxb-impl' transitive dependency is producing a duplicate and potential incompatibility problem in a Java 17, Jakarta EE 10 environment.

JPA provider Hibernate 6.1.5.Final, pulled in by spring-boot-starter-data-jpa also pulls in JAXB, but the Glassfish JAXB dependency.
2022-11-08 13:16:22 -08:00

39 lines
1.2 KiB
Groovy

plugins {
id "io.freefair.lombok" version "6.5.0.3"
}
apply plugin: 'io.spring.convention.spring-sample-boot'
description = "Spring Geode Sample demonstrating Spring's Cache Abstraction using Apache Geode as the caching provider for Asynchronous Inline Caching."
dependencies {
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
implementation(project(":spring-geode-starter")) {
exclude group: "com.sun.xml.bind", module: "jaxb-impl"
}
implementation "org.projectlombok:lombok"
implementation "jakarta.persistence:jakarta.persistence-api"
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation "org.springframework.boot:spring-boot-starter-web"
runtimeOnly "org.hsqldb:hsqldb"
testImplementation project(":spring-geode-starter-test")
testImplementation "org.awaitility:awaitility:$awaitilityVersion"
testImplementation "org.springframework.boot:spring-boot-starter-test"
}
bootJar {
mainClass = 'example.app.caching.inline.async.client.BootGeodeAsyncInlineCachingClientApplication'
}
bootRun {
main = 'example.app.caching.inline.async.client.BootGeodeAsyncInlineCachingClientApplication'
args "--spring.profiles.active=peer-cache,queue-batch-size,server"
}