Skip to content

Commit

Permalink
Fix snyk test
Browse files Browse the repository at this point in the history
  • Loading branch information
blootsvoets committed Sep 27, 2023
1 parent c228153 commit 9f6d290
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@Suppress("ConstPropertyName", "MemberVisibilityCanBePrivate")
object Versions {
const val project = "1.1.1"

Expand Down Expand Up @@ -25,4 +26,5 @@ object Versions {
const val ktor = "2.3.4"
const val coroutines = "1.7.3"
const val commonsCompress = "1.24.0"
const val snappy = "1.1.10.5"
}
4 changes: 3 additions & 1 deletion radar-commons-server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ dependencies {

api("org.apache.avro:avro:${Versions.avro}")

implementation("org.apache.kafka:kafka-clients:${Versions.kafka}")
implementation("org.apache.kafka:kafka-clients:${Versions.kafka}") {
implementation("org.xerial.snappy:snappy-java:${Versions.snappy}")
}

testImplementation("org.mockito:mockito-core:${Versions.mockito}")
// Direct producer uses KafkaAvroSerializer if initialized
Expand Down
4 changes: 3 additions & 1 deletion radar-commons-testing/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ dependencies {
implementation(platform("com.fasterxml.jackson:jackson-bom:${Versions.jackson}"))
implementation("com.fasterxml.jackson.core:jackson-databind")

implementation("org.apache.kafka:kafka-clients:${Versions.kafka}")
implementation("org.apache.kafka:kafka-clients:${Versions.kafka}") {
implementation("org.xerial.snappy:snappy-java:${Versions.snappy}")
}
implementation("io.confluent:kafka-avro-serializer:${Versions.confluent}")

implementation(platform("io.ktor:ktor-bom:${Versions.ktor}"))
Expand Down

0 comments on commit 9f6d290

Please sign in to comment.