Refactor Gradle project dependencies.
Remove unnecessary 'javax.servlet:javax.servlet-api' provided dependency in 'spring-geode-autoconfigure'. Remove unnecessary 'org.springframework.boot:spring-boot-starter-tomcat' runtime dependency from 'spring-geode-samples-caching-httpsession'. Remove unnecessary 'javax.cache:cache-api' and 'org.springframework.shell:spring-shell' runtime dependencies from 'spring-geode-samples-caching-inline'. Remove unnecessary 'javax.cache:cache-api' and 'org.springframework.shell:spring-shell' runtime dependencies from 'spring-geode-samples-caching-lookaside'. Remove unnecessary 'javax.cache:cache-api' runtime dependency from 'spring-geode-samples-caching-near'.
This commit is contained in:
@@ -9,17 +9,12 @@ description = "Spring Geode Sample demonstrating the use of Spring Boot Actuator
|
||||
dependencies {
|
||||
|
||||
compile project(":spring-geode-starter-actuator")
|
||||
compile project(":spring-geode-starter-test")
|
||||
|
||||
compile ("org.springframework.boot:spring-boot-starter-web") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
compile "org.springframework.data:spring-data-geode-test"
|
||||
|
||||
runtime ("org.springframework.boot:spring-boot-starter-jetty") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
@@ -11,10 +11,10 @@ description = "Spring Geode Sample demonstrating the use of Spring Boot Auto-Con
|
||||
dependencies {
|
||||
|
||||
compile project(":spring-geode-starter")
|
||||
compile project(":spring-geode-starter-test")
|
||||
|
||||
compile "org.assertj:assertj-core"
|
||||
compile "org.projectlombok:lombok"
|
||||
compile "org.springframework.data:spring-data-geode-test"
|
||||
|
||||
testCompile("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
|
||||
@@ -16,18 +16,13 @@ dependencies {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
runtime ("org.springframework.boot:spring-boot-starter-tomcat") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
testCompile project(":spring-geode-starter-session")
|
||||
testCompile project(":spring-geode-starter-test")
|
||||
|
||||
testCompile("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
testCompile project(":spring-geode-starter-session")
|
||||
|
||||
testCompile "org.springframework.data:spring-data-geode-test"
|
||||
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
@@ -4,12 +4,14 @@ plugins {
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-sample-boot'
|
||||
|
||||
description = "Spring Geode Sample demonstrating Spring's Cache Abstraction using Apache Geode as the caching provider with Inline Caching."
|
||||
description = "Spring Geode Sample demonstrating Spring's Cache Abstraction using Apache Geode as the caching provider for Inline Caching."
|
||||
|
||||
dependencies {
|
||||
|
||||
compile project(":spring-geode-starter")
|
||||
|
||||
compile "org.projectlombok:lombok"
|
||||
|
||||
compile ("org.springframework.boot:spring-boot-starter-data-jpa") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
@@ -18,21 +20,14 @@ dependencies {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
compile "org.projectlombok:lombok"
|
||||
|
||||
runtime "javax.cache:cache-api"
|
||||
runtime "org.hsqldb:hsqldb"
|
||||
|
||||
runtime ("org.springframework.boot:spring-boot-starter-jetty") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
testCompile project(":spring-geode-starter-test")
|
||||
|
||||
testCompile("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
testCompile "org.springframework.data:spring-data-geode-test"
|
||||
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apply plugin: 'io.spring.convention.spring-sample-boot'
|
||||
|
||||
description = "Spring Geode Sample demonstrating Spring's Cache Abstraction using Apache Geode as the caching provider with Look-Aside Caching."
|
||||
description = "Spring Geode Sample demonstrating Spring's Cache Abstraction using Apache Geode as the caching provider for Look-Aside Caching."
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -10,18 +10,11 @@ dependencies {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
runtime "javax.cache:cache-api"
|
||||
|
||||
runtime ("org.springframework.boot:spring-boot-starter-jetty") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
testCompile project(":spring-geode-starter-test")
|
||||
|
||||
testCompile("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
testCompile "org.springframework.data:spring-data-geode-test"
|
||||
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
@@ -4,7 +4,7 @@ plugins {
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-sample-boot'
|
||||
|
||||
description = "Spring Geode Sample demonstrating Spring's Cache Abstraction using Apache Geode as the caching provider with Near Caching."
|
||||
description = "Spring Geode Sample demonstrating Spring's Cache Abstraction using Apache Geode as the caching provider for Near Caching."
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -18,18 +18,16 @@ dependencies {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
runtime "javax.cache:cache-api"
|
||||
|
||||
runtime("org.springframework.boot:spring-boot-starter-jetty") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
testCompile project (":spring-geode-starter-test")
|
||||
|
||||
testCompile("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
testCompile "org.springframework.data:spring-data-geode-test"
|
||||
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
Reference in New Issue
Block a user