summaryrefslogtreecommitdiff
path: root/opendc-compute/opendc-compute-topology/build.gradle.kts
diff options
context:
space:
mode:
authorDante Niewenhuis <d.niewenhuis@hotmail.com>2024-03-05 16:50:35 +0100
committerGitHub <noreply@github.com>2024-03-05 16:50:35 +0100
commit960b3d8a13c67ac4b7f479d5764b0b618fc9ea09 (patch)
tree4f103bcf6635341827d9cfa10c10cfde9543f04f /opendc-compute/opendc-compute-topology/build.gradle.kts
parent5864cbcbfe2eb8c36ca05c3a39c7e5916aeecaec (diff)
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
Diffstat (limited to 'opendc-compute/opendc-compute-topology/build.gradle.kts')
-rw-r--r--opendc-compute/opendc-compute-topology/build.gradle.kts5
1 files changed, 4 insertions, 1 deletions
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)
}