From 07270624cabe35a8d75ccb9bb92c552278dd53d0 Mon Sep 17 00:00:00 2001 From: David Byron <82477955+dbyron-sf@users.noreply.github.com> Date: Tue, 7 May 2024 12:01:26 -0700 Subject: [PATCH] chore(ecs/dependencies): make spring-boot-starter-test a testImplememtation dependency (#6207) since it's not used in actual shipping code. This reduces the size of the image and reduces exposure to CVEs (e.g. https://github.com/xmlunit/xmlunit/security/advisories/GHSA-chfm-68vv-pvw5). --- clouddriver-ecs/clouddriver-ecs.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clouddriver-ecs/clouddriver-ecs.gradle b/clouddriver-ecs/clouddriver-ecs.gradle index 5e06612b8d..e55ed2bfa8 100644 --- a/clouddriver-ecs/clouddriver-ecs.gradle +++ b/clouddriver-ecs/clouddriver-ecs.gradle @@ -41,7 +41,6 @@ dependencies { implementation "org.apache.httpcomponents:httpclient" implementation "org.apache.httpcomponents:httpcore" implementation "org.codehaus.groovy:groovy" - implementation "org.springframework.boot:spring-boot-starter-test" implementation "org.springframework.boot:spring-boot-starter-web" testImplementation "cglib:cglib-nodep" @@ -49,6 +48,7 @@ dependencies { testImplementation "org.objenesis:objenesis" testImplementation "org.spockframework:spock-core" testImplementation "org.spockframework:spock-spring" + testImplementation "org.springframework.boot:spring-boot-starter-test" integrationImplementation project(":clouddriver-web") integrationImplementation "org.springframework:spring-test"