summaryrefslogtreecommitdiff
path: root/opendc-common/build.gradle.kts
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2026-06-15 23:48:44 +0200
committermjkwiatkowski <mati.rewa@gmail.com>2026-06-15 23:48:44 +0200
commit0731bd58889df127ef87aba2590d505d79e6646f (patch)
tree128aceeaf60ac5c098297f7cfda9fa47f974fc84 /opendc-common/build.gradle.kts
parentf1ecbf0ce40d43685d8a6aeba0fe4cdebbd4536f (diff)
feat: migrated the past project to the sunfish repo
Diffstat (limited to 'opendc-common/build.gradle.kts')
-rw-r--r--opendc-common/build.gradle.kts28
1 files changed, 28 insertions, 0 deletions
diff --git a/opendc-common/build.gradle.kts b/opendc-common/build.gradle.kts
index aeb9bc4d..0fd56bb5 100644
--- a/opendc-common/build.gradle.kts
+++ b/opendc-common/build.gradle.kts
@@ -31,7 +31,16 @@ plugins {
val serializationVersion = "1.6.0"
+repositories {
+ mavenCentral()
+ maven(url = "https://packages.confluent.io/maven/")
+}
+
+
dependencies {
+ //@Mateusz: for the postgresql database
+ implementation("org.postgresql:postgresql:42.7.10")
+
api(libs.kotlinx.coroutines)
implementation(libs.kotlin.logging)
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion")
@@ -41,4 +50,23 @@ 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")
+
+ // Source: https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-toml
+ implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-toml:2.21.0")
+
+ implementation("io.javalin:javalin:6.7.0")
+
+ // Source: https://mvnrepository.com/artifact/redis.clients/jedis
+ implementation("redis.clients:jedis:7.3.0")
}