[Gradle] KotlinPluginLifecycle: await on current stage: Execute in queue
KT-34662
This commit is contained in:
committed by
Space Team
parent
b502f7cd03
commit
72ee12cfc8
+1
-1
@@ -250,7 +250,7 @@ private class KotlinPluginLifecycleImpl(override val project: Project) : KotlinP
|
||||
}
|
||||
|
||||
override suspend fun await(stage: Stage) {
|
||||
if (this.stage >= stage) return
|
||||
if (this.stage > stage) return
|
||||
suspendCoroutine<Unit> { continuation ->
|
||||
enqueue(stage) {
|
||||
continuation.resume(Unit)
|
||||
|
||||
Reference in New Issue
Block a user