Fix cyclic dependency in run task configuration.
This commit is contained in:
committed by
Stanislav Erokhin
parent
c4178daf48
commit
7ad656ea7f
+1
-1
@@ -390,7 +390,7 @@ class KonanPlugin @Inject constructor(private val registry: ToolingModelBuilderR
|
||||
.filterIsInstance(KonanProgram::class.java)
|
||||
.forEach { program ->
|
||||
program.tasks().forEach { compile ->
|
||||
compile.configure { runTask?.let { runTask.dependsOn(it) } }
|
||||
compile.configure { this@configure.runTask?.let { runTask.dependsOn(it) } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user