summaryrefslogtreecommitdiff
path: root/opendc-common/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-common/build.gradle.kts')
-rw-r--r--opendc-common/build.gradle.kts19
1 files changed, 19 insertions, 0 deletions
diff --git a/opendc-common/build.gradle.kts b/opendc-common/build.gradle.kts
index 0094730b..4d9e8b54 100644
--- a/opendc-common/build.gradle.kts
+++ b/opendc-common/build.gradle.kts
@@ -1,3 +1,4 @@
+
/*
* Copyright (c) 2020 AtLarge Research
*
@@ -29,6 +30,11 @@ plugins {
kotlin("plugin.serialization") version "1.9.22"
}
+repositories {
+ maven(url = "https://packages.confluent.io/maven/")
+}
+
+
val serializationVersion = "1.6.0"
dependencies {
@@ -45,4 +51,17 @@ dependencies {
api(libs.kotlin.logging)
testImplementation(projects.opendcSimulator.opendcSimulatorCore)
+
+ // Source: https://mvnrepository.com/artifact/org.apache.kafka/kafka-clients
+ implementation("org.apache.kafka:kafka-clients:4.1.1")
+ implementation(libs.jackson.core)
+
+ // Source: https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java
+ // @Mateusz crucial this is an _api_ and not _implementation_
+ api("com.google.protobuf:protobuf-java:4.33.5")
+
+ // Source: https://mvnrepository.com/artifact/io.confluent/kafka-protobuf-serializer
+ implementation("io.confluent:kafka-protobuf-serializer:8.1.1")
}
+
+