summaryrefslogtreecommitdiff
path: root/simulator/opendc-compute
diff options
context:
space:
mode:
Diffstat (limited to 'simulator/opendc-compute')
-rw-r--r--simulator/opendc-compute/opendc-compute-core/build.gradle.kts11
-rw-r--r--simulator/opendc-compute/opendc-compute-simulator/build.gradle.kts11
2 files changed, 8 insertions, 14 deletions
diff --git a/simulator/opendc-compute/opendc-compute-core/build.gradle.kts b/simulator/opendc-compute/opendc-compute-core/build.gradle.kts
index ac2dc78d..a1b6ec0f 100644
--- a/simulator/opendc-compute/opendc-compute-core/build.gradle.kts
+++ b/simulator/opendc-compute/opendc-compute-core/build.gradle.kts
@@ -24,19 +24,14 @@ description = "Core implementation of the OpenDC Compute service"
/* Build configuration */
plugins {
- `kotlin-library-convention`
+ `kotlin-library-conventions`
}
dependencies {
+ api(platform(project(":opendc-platform")))
api(project(":opendc-core"))
api(project(":opendc-trace:opendc-trace-core"))
implementation(project(":opendc-utils"))
- implementation("io.github.microutils:kotlin-logging:1.7.9")
- testImplementation(project(":opendc-simulator:opendc-simulator-core"))
- testImplementation(project(":opendc-compute:opendc-compute-simulator"))
- testRuntimeOnly("org.slf4j:slf4j-simple:${Library.SLF4J}")
- testImplementation("org.junit.jupiter:junit-jupiter-api:${Library.JUNIT_JUPITER}")
- testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${Library.JUNIT_JUPITER}")
- testImplementation("org.junit.platform:junit-platform-launcher:${Library.JUNIT_PLATFORM}")
+ implementation("io.github.microutils:kotlin-logging")
}
diff --git a/simulator/opendc-compute/opendc-compute-simulator/build.gradle.kts b/simulator/opendc-compute/opendc-compute-simulator/build.gradle.kts
index dc93e956..f52d0f97 100644
--- a/simulator/opendc-compute/opendc-compute-simulator/build.gradle.kts
+++ b/simulator/opendc-compute/opendc-compute-simulator/build.gradle.kts
@@ -24,19 +24,18 @@ description = "Simulator for OpenDC Compute"
/* Build configuration */
plugins {
- `kotlin-library-convention`
+ `kotlin-library-conventions`
+ `testing-conventions`
}
dependencies {
+ api(platform(project(":opendc-platform")))
api(project(":opendc-compute:opendc-compute-core"))
api(project(":opendc-simulator:opendc-simulator-compute"))
api(project(":opendc-simulator:opendc-simulator-failures"))
implementation(project(":opendc-utils"))
- implementation("io.github.microutils:kotlin-logging:1.7.9")
+ implementation("io.github.microutils:kotlin-logging")
testImplementation(project(":opendc-simulator:opendc-simulator-core"))
- testRuntimeOnly("org.slf4j:slf4j-simple:${Library.SLF4J}")
- testImplementation("org.junit.jupiter:junit-jupiter-api:${Library.JUNIT_JUPITER}")
- testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${Library.JUNIT_JUPITER}")
- testImplementation("org.junit.platform:junit-platform-launcher:${Library.JUNIT_PLATFORM}")
+ testRuntimeOnly("org.slf4j:slf4j-simple:${versions.slf4j}")
}