rhencke
04/01/2017, 2:10 AM// Like OptionalDependencySelector, but always excludes optional dependencies, regardless of depth.
private class NoOptionalDependencySelector : DependencySelector {
override fun selectDependency(dep: Dependency): Boolean = !dep.isOptional
override fun deriveChildSelector(context: DependencyCollectionContext): DependencySelector = this
}
and swapping that in for OptionalDependencySelector. But I am just taking a guess. 🙂
I'll draw you up a simple reproduction and post an issue though.