Skip to content

Commit

Permalink
Exclude (not used) vulnerable dependencies (#592)
Browse files Browse the repository at this point in the history
* Exclude (not used) vulnerable dependencies

* Exclude (not used) vulnerable dependencies
  • Loading branch information
pstreef authored Sep 10, 2024
1 parent ed574ff commit cf6d238
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ dependencies {
exclude("com.google.auto.service", "auto-service-annotations")
}
implementation("org.mongodb:mongo-java-driver:3.12.+")
implementation("org.springframework.data:spring-data-mongodb:2.2.+")
implementation("org.springframework.data:spring-data-mongodb:2.2.+"){
because("We only require the classes (for refaster style recipes), not the dependencies")
exclude(group = "org.springframework")
}

testRuntimeOnly("ch.qos.logback:logback-classic:1.+")
testRuntimeOnly(gradleApi())
Expand Down

0 comments on commit cf6d238

Please sign in to comment.