Remove unnecessary testImplementation dependencies (e.g. JUnit, Mockito, etc) from Project (module) Gradle build files.
The testImplementation dependencies have been declared in the testDependencies project extension defined in the DependencySetPlugin. The testDependencies have been (implicitly) added to the Project's testImplementation dependencies inside the DependencySetPlugin.
This commit is contained in:
@@ -11,13 +11,9 @@ dependencies {
|
||||
|
||||
implementation "com.fasterxml.jackson.core:jackson-databind"
|
||||
|
||||
// See additional testImplementation dependencies declared in the testDependencies project extension
|
||||
// defined in the DependencySetPlugin.
|
||||
testImplementation "org.apache.geode:geode-membership:$apacheGeodeVersion"
|
||||
testImplementation "org.apache.geode:geode-serialization:$apacheGeodeVersion"
|
||||
|
||||
testImplementation "junit:junit"
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
testImplementation "org.mockito:mockito-core"
|
||||
testImplementation "org.projectlombok:lombok"
|
||||
testImplementation "edu.umd.cs.mtc:multithreadedtc"
|
||||
|
||||
}
|
||||
|
||||
@@ -9,12 +9,8 @@ dependencies {
|
||||
|
||||
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
testImplementation "junit:junit"
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
testImplementation "org.mockito:mockito-core"
|
||||
testImplementation "org.projectlombok:lombok"
|
||||
// See additional testImplementation dependencies declared in the testDependencies project extension
|
||||
// defined in the DependencySetPlugin.
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||
testImplementation "org.springframework.data:spring-data-geode-test"
|
||||
testImplementation "edu.umd.cs.mtc:multithreadedtc"
|
||||
|
||||
}
|
||||
|
||||
@@ -11,12 +11,8 @@ dependencies {
|
||||
provided "org.apache.geode:geode-logging:$apacheGeodeVersion"
|
||||
provided "org.apache.geode:geode-serialization:$apacheGeodeVersion"
|
||||
|
||||
testImplementation "junit:junit"
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
testImplementation "org.mockito:mockito-core"
|
||||
testImplementation "org.projectlombok:lombok"
|
||||
// See additional testImplementation dependencies declared in the testDependencies project extension
|
||||
// defined in the DependencySetPlugin.
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||
testImplementation "org.springframework.data:spring-data-geode-test"
|
||||
testImplementation "edu.umd.cs.mtc:multithreadedtc"
|
||||
|
||||
}
|
||||
|
||||
@@ -20,15 +20,11 @@ dependencies {
|
||||
optional "org.springframework.boot:spring-boot-configuration-processor"
|
||||
optional "org.springframework.session:spring-session-data-geode"
|
||||
|
||||
// See additional testImplementation dependencies declared in the testDependencies project extension
|
||||
// defined in the DependencySetPlugin.
|
||||
testImplementation "jakarta.servlet:jakarta.servlet-api"
|
||||
testImplementation "junit:junit"
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
testImplementation "org.mockito:mockito-core"
|
||||
testImplementation "org.projectlombok:lombok"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-web"
|
||||
testImplementation "org.springframework.data:spring-data-geode-test"
|
||||
testImplementation "edu.umd.cs.mtc:multithreadedtc"
|
||||
|
||||
testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
|
||||
@@ -14,12 +14,8 @@ dependencies {
|
||||
|
||||
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
testImplementation "junit:junit"
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
testImplementation "org.mockito:mockito-core"
|
||||
testImplementation "org.projectlombok:lombok"
|
||||
// See additional testImplementation dependencies declared in the testDependencies project extension
|
||||
// defined in the DependencySetPlugin.
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||
testImplementation "org.springframework.data:spring-data-geode-test"
|
||||
testImplementation "edu.umd.cs.mtc:multithreadedtc"
|
||||
|
||||
}
|
||||
|
||||
@@ -22,10 +22,8 @@ dependencies {
|
||||
implementation "org.assertj:assertj-core"
|
||||
implementation "org.projectlombok:lombok"
|
||||
|
||||
testImplementation "junit:junit"
|
||||
testImplementation "org.mockito:mockito-core"
|
||||
testImplementation "edu.umd.cs.mtc:multithreadedtc"
|
||||
|
||||
// See additional testImplementation dependencies declared in the testDependencies project extension
|
||||
// defined in the DependencySetPlugin.
|
||||
testImplementation project(":spring-geode-starter-test")
|
||||
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ dependencies {
|
||||
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
||||
}
|
||||
|
||||
testImplementation('org.springframework.data:spring-data-geode-test')
|
||||
testImplementation project(':spring-geode-starter-test')
|
||||
|
||||
}
|
||||
|
||||
@@ -21,17 +21,13 @@ dependencies {
|
||||
|
||||
runtimeOnly "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
|
||||
|
||||
testImplementation "junit:junit"
|
||||
testImplementation "org.assertj:assertj-core"
|
||||
testImplementation "org.mockito:mockito-core"
|
||||
testImplementation "org.projectlombok:lombok"
|
||||
testImplementation "org.testcontainers:testcontainers"
|
||||
testImplementation "edu.umd.cs.mtc:multithreadedtc"
|
||||
|
||||
// See additional testImplementation dependencies declared in the testDependencies project extension
|
||||
// defined in the DependencySetPlugin.
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude group: "org.skyscreamer", module: "jsonassert"
|
||||
}
|
||||
|
||||
testImplementation "org.testcontainers:testcontainers"
|
||||
testImplementation "jakarta.persistence:jakarta.persistence-api"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-data-jpa"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-data-cassandra"
|
||||
|
||||
Reference in New Issue
Block a user