mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-24 19:18:44 +00:00
fix dokka build
This commit is contained in:
parent
e831ca143e
commit
4df242747f
@ -30,10 +30,11 @@ kotlin {
|
|||||||
|
|
||||||
private List<SourceDirectorySet> findSourcesWithName(String... approximateNames) {
|
private List<SourceDirectorySet> findSourcesWithName(String... approximateNames) {
|
||||||
return parent.subprojects
|
return parent.subprojects
|
||||||
.findAll { it != project }
|
.findAll { it != project && it.hasProperty("kotlin") }
|
||||||
.collectMany { it.kotlin.sourceSets }
|
.collectMany { it.kotlin.sourceSets }
|
||||||
.findAll { sourceSet -> approximateNames.any {
|
.findAll { sourceSet ->
|
||||||
nameToFilter -> sourceSet.name.contains(nameToFilter)
|
approximateNames.any { nameToFilter ->
|
||||||
|
sourceSet.name.contains(nameToFilter)
|
||||||
}
|
}
|
||||||
}.collect { it.kotlin }
|
}.collect { it.kotlin }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user