Reduce number of test dependencies
Reduce the number of direct test dependencies and instead rely on transitive test support dependencies.
This commit is contained in:
@@ -9,8 +9,4 @@ description = "Spring Boot AutoConfigure Annotation Processor"
|
||||
dependencies {
|
||||
testImplementation(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies")))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.springframework:spring-core")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
}
|
||||
|
||||
@@ -20,11 +20,4 @@ dependencies {
|
||||
implementation("org.tomlj:tomlj:1.0.0")
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("com.jayway.jsonpath:json-path")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.hamcrest:hamcrest")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.skyscreamer:jsonassert")
|
||||
}
|
||||
|
||||
@@ -30,20 +30,12 @@ dependencies {
|
||||
implementation("org.springframework.security:spring-security-crypto")
|
||||
|
||||
intTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
intTestImplementation("org.assertj:assertj-core")
|
||||
intTestImplementation("org.junit.jupiter:junit-jupiter")
|
||||
intTestImplementation("org.springframework:spring-core")
|
||||
|
||||
loader(project(":spring-boot-project:spring-boot-tools:spring-boot-loader"))
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
}
|
||||
|
||||
tasks.register("fullJar", Jar) {
|
||||
|
||||
@@ -18,13 +18,7 @@ dependencies {
|
||||
testCompileOnly("com.google.code.findbugs:jsr305:3.0.2")
|
||||
testImplementation(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies")))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("jakarta.validation:jakarta.validation-api")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.hamcrest:hamcrest-library")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.projectlombok:lombok")
|
||||
testImplementation("org.springframework:spring-core")
|
||||
testImplementation("org.apache.commons:commons-dbcp2")
|
||||
}
|
||||
|
||||
@@ -49,13 +49,10 @@ dependencies {
|
||||
testImplementation("net.java.dev.jna:jna-platform")
|
||||
testImplementation("org.apache.commons:commons-compress")
|
||||
testImplementation("org.apache.httpcomponents.client5:httpclient5")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.graalvm.buildtools:native-gradle-plugin")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-compiler-runner:$kotlinVersion")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-daemon-client:$kotlinVersion")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.tomlj:tomlj:1.0.0")
|
||||
}
|
||||
|
||||
|
||||
@@ -9,12 +9,6 @@ dependencies {
|
||||
compileOnly("org.springframework:spring-core")
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
|
||||
testRuntimeOnly("ch.qos.logback:logback-classic")
|
||||
testRuntimeOnly("org.bouncycastle:bcprov-jdk18on:1.78.1")
|
||||
|
||||
@@ -9,12 +9,6 @@ dependencies {
|
||||
compileOnly("org.springframework:spring-core")
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
|
||||
testRuntimeOnly("ch.qos.logback:logback-classic")
|
||||
testRuntimeOnly("org.bouncycastle:bcprov-jdk18on:1.78.1")
|
||||
|
||||
Reference in New Issue
Block a user