summaryrefslogtreecommitdiff
path: root/simulator
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-09-30 21:13:20 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-09-30 23:40:56 +0200
commitc543f55e961f9f7468e19c1c0f5f20566d07dfb5 (patch)
tree3ee5e2544eb497dc724fde5f16c666f27c8f3f5f /simulator
parent76813d1fa48507423932e7ef9811d3058aad2881 (diff)
Ensure correct kotlin-reflect version
This change ensures that we depend on the correct kotlin-reflect package, since Jackson might prefer an older version.
Diffstat (limited to 'simulator')
-rw-r--r--simulator/opendc/opendc-format/build.gradle.kts4
1 files changed, 3 insertions, 1 deletions
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}")