1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Fix task ordering.

This commit is contained in:
Cedric Beust 2016-08-10 03:18:35 -08:00
parent b2eb2a37c2
commit 5cbb4e5f23

View file

@ -148,7 +148,7 @@ abstract class BaseProjectRunner {
// runBefore and runAfter (task ordering) are only considered for explicit tasks (tasks that were
// explicitly requested by the user)
//
passedTasks.map { it.id }.let { taskNames ->
passedTasks.map { it.taskName }.let { taskNames ->
runBefore[taskName].forEach { from ->
if (taskNames.contains(from)) {
addEdge(result, from, taskName, newToProcess, "runBefore")