mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Fix version processor bug.
Fixes https://github.com/cbeust/kobalt/issues/297 The problem was that when determining the dependencies of a project from the projects it depends on, the current project was included in that collection.
This commit is contained in:
parent
5ed955c5f9
commit
31d219eb52
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class DependencyManager2 @Inject constructor(val aether: KobaltAether) {
|
|||
result.add(FileDependency(classDir))
|
||||
}
|
||||
}
|
||||
transitiveProjects.forEach { p ->
|
||||
transitiveProjects.filter { it.name != project?.name }.forEach { p ->
|
||||
maybeAddClassDir(KFiles.joinDir(p.directory, p.classesDir(context)))
|
||||
maybeAddClassDir(KFiles.makeOutputTestDir(p).path)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue