-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BENCH-4616] Update lib constraints to address vuln #1072
Conversation
@@ -55,16 +55,6 @@ dependencies { | |||
exclude group: 'io.opentelemetry.instrumentation' | |||
} | |||
|
|||
// explicity declare libs and version to address synk warnings | |||
implementation "org.springframework:spring-context:${vSpringWeb}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed with spring plugin upgrade
@@ -42,14 +42,6 @@ dependencyLocking { | |||
dependencies { | |||
// GCP BOM - See https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM | |||
implementation platform('com.google.cloud:libraries-bom:26.49.0') | |||
constraints { | |||
// "-jre" for Java 8 or higher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no longer needed with current gcp bom
@@ -58,13 +58,8 @@ configurations.all { | |||
} | |||
|
|||
dependencies { | |||
// added to address synk warnings | |||
constraints { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no longer needed
@@ -109,16 +104,6 @@ dependencies { | |||
implementation 'org.springframework.boot:spring-boot-starter-web' | |||
implementation 'org.springframework.security:spring-security-core' | |||
|
|||
// explicity declare libs and version to address synk warnings | |||
implementation "org.springframework:spring-context:${vSpringWeb}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not needed with spring plugin update
Bumping spring plugin resolves both, and also removes the need for other constraints
indexer and underlay does not include spring plugin, hence need netty explicitly constrained