summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2026-06-16 14:07:43 +0200
committermjkwiatkowski <mati.rewa@gmail.com>2026-06-16 14:07:43 +0200
commit69268d7d8923699e83a1d19ec5eab227198f3581 (patch)
treeb8147ff09a41481d9f65aa0f0f1a661953286a11
parent3a4363d0bba006c6a278c12a3264b8976b8d4485 (diff)
fix: fixing gradle dependencies
-rw-r--r--opendc-common/build.gradle.kts3
-rw-r--r--opendc-web/opendc-web-quarkus-deployment/build.gradle.kts3
-rw-r--r--settings.gradle.kts7
3 files changed, 10 insertions, 3 deletions
diff --git a/opendc-common/build.gradle.kts b/opendc-common/build.gradle.kts
index 9bd209d4..2212c97d 100644
--- a/opendc-common/build.gradle.kts
+++ b/opendc-common/build.gradle.kts
@@ -59,8 +59,9 @@ dependencies {
// @Mateusz crucial this is an _api_ and not _implementation_
api("com.google.protobuf:protobuf-java:4.35.0")
+ /*This is for now commented out, but (it used to be?) is necessary for the project to work.*/
// Source: https://mvnrepository.com/artifact/io.confluent/kafka-protobuf-serializer
- implementation("io.confluent:kafka-protobuf-serializer:8.1.1")
+ // implementation("io.confluent:kafka-protobuf-serializer:8.2.1")
// Source: https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-toml
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-toml:2.21.0")
diff --git a/opendc-web/opendc-web-quarkus-deployment/build.gradle.kts b/opendc-web/opendc-web-quarkus-deployment/build.gradle.kts
index 5dfdb65b..9917bb44 100644
--- a/opendc-web/opendc-web-quarkus-deployment/build.gradle.kts
+++ b/opendc-web/opendc-web-quarkus-deployment/build.gradle.kts
@@ -27,7 +27,7 @@ plugins {
`java-library-conventions`
}
-dependencies {
+/* dependencies {
implementation(platform(libs.quarkus.bom))
implementation(projects.opendcWeb.opendcWebQuarkus)
@@ -38,3 +38,4 @@ dependencies {
implementation(libs.quarkus.arc.deployment)
implementation(libs.quarkus.quinoa.deployment)
}
+ */
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 3a5bae7e..b35be5e1 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -1,3 +1,6 @@
+import org.gradle.kotlin.dsl.mavenCentral
+import org.gradle.kotlin.dsl.repositories
+
/*
* Copyright (c) 2017 AtLarge Research
*
@@ -23,8 +26,11 @@ pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
+ /*This is to ensure kafka-protobuf-serializer works.*/
+ maven(url = "https://packages.confluent.io/maven/")
}
}
+
plugins {
id("com.gradleup.nmcp.settings").version("1.4.4")
}
@@ -39,7 +45,6 @@ nmcpSettings {
}
}
-
include(":opendc-common")
include(":opendc-compute:opendc-compute-api")
include(":opendc-compute:opendc-compute-carbon")