summaryrefslogtreecommitdiff
path: root/simulator/opendc-core
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-02-23 11:46:06 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-02-23 11:46:06 +0100
commit0b092b352dc29ce69f6f126eb7857a1243a6ef62 (patch)
tree44047aba0874b80ffd406cfc6c7776bde0eaaf90 /simulator/opendc-core
parentbde79549149eca269c033302729ba06043efb29c (diff)
Extract testing conventions from Kotlin conventions
This change extracts the configuration for test from the Kotlin library conventions.
Diffstat (limited to 'simulator/opendc-core')
-rw-r--r--simulator/opendc-core/build.gradle.kts7
1 files changed, 2 insertions, 5 deletions
diff --git a/simulator/opendc-core/build.gradle.kts b/simulator/opendc-core/build.gradle.kts
index 81592831..5e189fb5 100644
--- a/simulator/opendc-core/build.gradle.kts
+++ b/simulator/opendc-core/build.gradle.kts
@@ -24,12 +24,9 @@ description = "Base model for datacenter simulation"
/* Build configuration */
plugins {
- `kotlin-library-convention`
+ `kotlin-library-conventions`
}
dependencies {
- api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Library.KOTLINX_COROUTINES}")
-
- testImplementation("org.junit.jupiter:junit-jupiter-api:${Library.JUNIT_JUPITER}")
- testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${Library.JUNIT_JUPITER}")
+ api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.KOTLINX_COROUTINES}")
}