fix dokka build

This commit is contained in:
InsanusMokrassar 2022-08-05 22:03:10 +06:00
parent e831ca143e
commit 4df242747f
1 changed files with 7 additions and 6 deletions

View File

@ -30,10 +30,11 @@ kotlin {
private List<SourceDirectorySet> findSourcesWithName(String... approximateNames) {
return parent.subprojects
.findAll { it != project }
.findAll { it != project && it.hasProperty("kotlin") }
.collectMany { it.kotlin.sourceSets }
.findAll { sourceSet -> approximateNames.any {
nameToFilter -> sourceSet.name.contains(nameToFilter)
.findAll { sourceSet ->
approximateNames.any { nameToFilter ->
sourceSet.name.contains(nameToFilter)
}
}.collect { it.kotlin }
}