mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Fix the extractHost() missing method exception.
Fixes https://github.com/cbeust/kobalt/issues/287
This commit is contained in:
parent
5d6272065c
commit
3a2ba61c6e
1 changed files with 5 additions and 1 deletions
|
@ -93,7 +93,11 @@ class DependencyManager @Inject constructor(val executors: KobaltExecutors, val
|
|||
result.addAll(runClasspathContributors(project, context))
|
||||
result.addAll(dependentProjectDependencies(project, context))
|
||||
|
||||
return result
|
||||
// Dependencies get reordered by transitiveClosure() but since we just added a bunch of new ones,
|
||||
// we need to reorder them again in case we're adding dependencies that are already present
|
||||
// but with a different version
|
||||
val reordered = reorderDependencies(result)
|
||||
return reordered
|
||||
}
|
||||
|
||||
private fun runClasspathContributors(project: Project?, context: KobaltContext) :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue