mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Better runtime scope handling.
This commit is contained in:
parent
a99ce1ce4d
commit
df7d9e7d68
3 changed files with 24 additions and 13 deletions
|
@ -61,7 +61,8 @@ class ApplicationPlugin @Inject constructor(val configActor: ConfigActor<Applica
|
|||
val runContributor = ActorUtils.selectAffinityActor(project, context,
|
||||
context.pluginInfo.runnerContributors)
|
||||
if (runContributor != null && runContributor.affinity(project, context) > 0) {
|
||||
return runContributor.run(project, context, dependencyManager.dependencies(project, context))
|
||||
return runContributor.run(project, context,
|
||||
dependencyManager.dependencies(project, context, listOf(Scope.RUNTIME)))
|
||||
} else {
|
||||
context.logger.log(project.name, 1,
|
||||
"Couldn't find a runner for project ${project.name}. Please make sure" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue