diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-02-23 21:40:53 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-02-23 21:40:53 +0100 |
| commit | 15fcd1a10018605f59ca7a644b8f3b3960e7b6b0 (patch) | |
| tree | cbbbcd759f16b8d0aa87c41b7f10dcc5fdf7087a /simulator/opendc-simulator | |
| parent | 481706adc89d502840c967d94a165c55d8ac0e1a (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')
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") } |
