From 69268d7d8923699e83a1d19ec5eab227198f3581 Mon Sep 17 00:00:00 2001 From: mjkwiatkowski Date: Tue, 16 Jun 2026 14:07:43 +0200 Subject: fix: fixing gradle dependencies --- opendc-common/build.gradle.kts | 3 ++- opendc-web/opendc-web-quarkus-deployment/build.gradle.kts | 3 ++- settings.gradle.kts | 7 ++++++- 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") -- cgit v1.2.3