summaryrefslogtreecommitdiff
path: root/opendc-simulator/opendc-simulator-flow/build.gradle.kts
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-09-30 14:35:30 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-10-03 17:17:40 +0200
commitb0fc93f818e5e735e972a04f5aa49e0ebe1de181 (patch)
tree354e285fec462cb61b7f36c48b4d377b0a387b8d /opendc-simulator/opendc-simulator-flow/build.gradle.kts
parent7b3a31b11df76870b965748fd8f7e712682a9d30 (diff)
refactor(simulator): Remove failure callback from FlowSource
This change removes the `onFailure` method from FlowSource. Instead, the FlowConsumer will receive the reason for failure of the source.
Diffstat (limited to 'opendc-simulator/opendc-simulator-flow/build.gradle.kts')
-rw-r--r--opendc-simulator/opendc-simulator-flow/build.gradle.kts3
1 files changed, 2 insertions, 1 deletions
diff --git a/opendc-simulator/opendc-simulator-flow/build.gradle.kts b/opendc-simulator/opendc-simulator-flow/build.gradle.kts
index 5a956fee..05e21c3c 100644
--- a/opendc-simulator/opendc-simulator-flow/build.gradle.kts
+++ b/opendc-simulator/opendc-simulator-flow/build.gradle.kts
@@ -32,7 +32,8 @@ plugins {
dependencies {
api(platform(projects.opendcPlatform))
api(libs.kotlinx.coroutines)
- implementation(projects.opendcUtils)
+ implementation(libs.kotlin.logging)
testImplementation(projects.opendcSimulator.opendcSimulatorCore)
+ testImplementation(libs.slf4j.simple)
}