mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Dependencies can be empty.
This commit is contained in:
parent
9049ed8048
commit
5768fb24db
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ interface IDependencyManager {
|
||||||
return excluded?.map { it.id }?.contains(dep.id) ?: false
|
return excluded?.map { it.id }?.contains(dep.id) ?: false
|
||||||
}
|
}
|
||||||
|
|
||||||
val accept = dependencies.any {
|
val accept = dependencies.isEmpty() || dependencies.any {
|
||||||
// Is this dependency excluded?
|
// Is this dependency excluded?
|
||||||
val isExcluded = isNodeExcluded(p0, it) || isDepExcluded(p0, project?.excludedDependencies)
|
val isExcluded = isNodeExcluded(p0, it) || isDepExcluded(p0, project?.excludedDependencies)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue