From 960b3d8a13c67ac4b7f479d5764b0b618fc9ea09 Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Tue, 5 Mar 2024 16:50:35 +0100 Subject: Cpu fix (#208) * Updated the topology format to JSON. Updated TopologyReader.kt to handle JSON filed. Added documentation for the new format. * applied spotless kotlin * small update * Updated for spotless apply * Updated for spotless apply --- opendc-compute/opendc-compute-topology/build.gradle.kts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'opendc-compute/opendc-compute-topology/build.gradle.kts') diff --git a/opendc-compute/opendc-compute-topology/build.gradle.kts b/opendc-compute/opendc-compute-topology/build.gradle.kts index 0dedf8a9..f236cbbd 100644 --- a/opendc-compute/opendc-compute-topology/build.gradle.kts +++ b/opendc-compute/opendc-compute-topology/build.gradle.kts @@ -25,6 +25,7 @@ description = "OpenDC Compute Topology implementation" // Build configuration plugins { `kotlin-library-conventions` + kotlin("plugin.serialization") version "1.9.22" } dependencies { @@ -32,6 +33,8 @@ dependencies { implementation(projects.opendcCommon) implementation(project(mapOf("path" to ":opendc-simulator:opendc-simulator-compute"))) - implementation(libs.jackson.dataformat.csv) + implementation(libs.jackson.module.kotlin) + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0") + implementation(project(mapOf("path" to ":opendc-trace:opendc-trace-api"))) testImplementation(projects.opendcSimulator.opendcSimulatorCore) } -- cgit v1.2.3