Fix new compiler warnings in daemon and build-common
This commit is contained in:
@@ -39,3 +39,11 @@ runtimeJar()
|
||||
sourcesJar()
|
||||
|
||||
javadocJar()
|
||||
|
||||
tasks {
|
||||
val compileKotlin by existing(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.DelicateCoroutinesApi"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,3 +66,11 @@ runtimeJar()
|
||||
sourcesJar()
|
||||
|
||||
javadocJar()
|
||||
|
||||
tasks {
|
||||
val compileKotlin by existing(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.DelicateCoroutinesApi"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,3 +25,11 @@ sourceSets {
|
||||
"main" { projectDefault() }
|
||||
"test" {}
|
||||
}
|
||||
|
||||
tasks {
|
||||
val compileKotlin by existing(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.DelicateCoroutinesApi"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -103,7 +103,7 @@ abstract class DefaultAuthorizableClient<ServerType : ServerBase>(
|
||||
}
|
||||
|
||||
override fun sendNoReplyMessage(msg: AnyMessage<out ServerType>) {
|
||||
writeActor.offer(SendNoreplyMessageQuery(msg))
|
||||
writeActor.trySend(SendNoreplyMessageQuery(msg))
|
||||
}
|
||||
|
||||
override suspend fun <T> readMessage(id: Int): T {
|
||||
|
||||
Reference in New Issue
Block a user