From c543f55e961f9f7468e19c1c0f5f20566d07dfb5 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 30 Sep 2020 21:13:20 +0200 Subject: Ensure correct kotlin-reflect version This change ensures that we depend on the correct kotlin-reflect package, since Jackson might prefer an older version. --- simulator/opendc/opendc-format/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'simulator') diff --git a/simulator/opendc/opendc-format/build.gradle.kts b/simulator/opendc/opendc-format/build.gradle.kts index 4cccd302..b80e14b9 100644 --- a/simulator/opendc/opendc-format/build.gradle.kts +++ b/simulator/opendc/opendc-format/build.gradle.kts @@ -33,7 +33,9 @@ dependencies { api(project(":opendc:opendc-core")) api(project(":opendc:opendc-compute")) api(project(":opendc:opendc-workflows")) - api("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.8") + api("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.8") { + exclude("org.jetbrains.kotlin", module = "kotlin-reflect") + } implementation(kotlin("reflect")) testImplementation("org.junit.jupiter:junit-jupiter-api:${Library.JUNIT_JUPITER}") -- cgit v1.2.3