summaryrefslogtreecommitdiff
path: root/simulator/opendc-simulator
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-02-23 21:40:53 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-02-23 21:40:53 +0100
commit15fcd1a10018605f59ca7a644b8f3b3960e7b6b0 (patch)
treecbbbcd759f16b8d0aa87c41b7f10dcc5fdf7087a /simulator/opendc-simulator
parent481706adc89d502840c967d94a165c55d8ac0e1a (diff)
Use Java Platform for shared dependency constraints
This change uses the Java Platform functionality from Gradle to enable shared dependency constraints across modules.
Diffstat (limited to 'simulator/opendc-simulator')
-rw-r--r--simulator/opendc-simulator/opendc-simulator-compute/build.gradle.kts1
-rw-r--r--simulator/opendc-simulator/opendc-simulator-core/build.gradle.kts1
-rw-r--r--simulator/opendc-simulator/opendc-simulator-failures/build.gradle.kts1
3 files changed, 3 insertions, 0 deletions
diff --git a/simulator/opendc-simulator/opendc-simulator-compute/build.gradle.kts b/simulator/opendc-simulator/opendc-simulator-compute/build.gradle.kts
index 7354cad6..19af6fe8 100644
--- a/simulator/opendc-simulator/opendc-simulator-compute/build.gradle.kts
+++ b/simulator/opendc-simulator/opendc-simulator-compute/build.gradle.kts
@@ -28,6 +28,7 @@ plugins {
}
dependencies {
+ api(platform(project(":opendc-platform")))
api(project(":opendc-simulator:opendc-simulator-core"))
implementation(project(":opendc-utils"))
}
diff --git a/simulator/opendc-simulator/opendc-simulator-core/build.gradle.kts b/simulator/opendc-simulator/opendc-simulator-core/build.gradle.kts
index c2175043..309afb19 100644
--- a/simulator/opendc-simulator/opendc-simulator-core/build.gradle.kts
+++ b/simulator/opendc-simulator/opendc-simulator-core/build.gradle.kts
@@ -28,5 +28,6 @@ plugins {
}
dependencies {
+ api(platform(project(":opendc-platform")))
api("org.jetbrains.kotlinx:kotlinx-coroutines-test")
}
diff --git a/simulator/opendc-simulator/opendc-simulator-failures/build.gradle.kts b/simulator/opendc-simulator/opendc-simulator-failures/build.gradle.kts
index 5220992d..0f6b2de2 100644
--- a/simulator/opendc-simulator/opendc-simulator-failures/build.gradle.kts
+++ b/simulator/opendc-simulator/opendc-simulator-failures/build.gradle.kts
@@ -27,5 +27,6 @@ plugins {
}
dependencies {
+ api(platform(project(":opendc-platform")))
api("org.jetbrains.kotlinx:kotlinx-coroutines-core")
}