Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions workflow-runtime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,24 @@ kotlin {
}
}
}
ios()

sourceSets {
val jvmMain by getting {
all {
languageSettings.apply {
optIn("kotlin.RequiresOptIn")
}
}
val commonMain by getting {
dependencies {
compileOnly(libs.jetbrains.annotations)

api(project(":workflow-core"))
api(libs.kotlin.jdk6)
api(libs.kotlinx.coroutines.core)
}
}
val jvmTest by getting {
val commonTest by getting {
dependencies {
implementation(libs.kotlinx.coroutines.test)
implementation(libs.kotlinx.coroutines.test.common)
implementation(libs.kotlin.test.jdk)
implementation(libs.kotlin.reflect)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public open class SimpleLoggingWorkflowInterceptor : WorkflowInterceptor {
println(text)
}

protected open fun logError(text: String): Unit = System.err.println(text)
protected open fun logError(text: String): Unit = println("ERROR: $text")

private fun formatLogMessage(
name: String,
Expand Down
Loading