mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-05-27 10:17:24 +00:00
fix dokka build :(
This commit is contained in:
@@ -17,7 +17,7 @@ kotlin {
|
||||
browser()
|
||||
nodejs()
|
||||
}
|
||||
android {}
|
||||
androidTarget {}
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
@@ -100,14 +100,14 @@ private List<SourceDirectorySet> findSourcesWithName(String... approximateNames)
|
||||
}.collect { it.kotlin }
|
||||
}
|
||||
|
||||
tasks.dokkaHtml {
|
||||
dokka {
|
||||
dokkaSourceSets {
|
||||
configureEach {
|
||||
skipDeprecated.set(true)
|
||||
|
||||
sourceLink {
|
||||
localDirectory.set(file("../"))
|
||||
remoteUrl.set(new URL("https://github.com/InsanusMokrassar/MicroUtils/blob/master/"))
|
||||
remoteUrl.set(new URI("https://github.com/InsanusMokrassar/MicroUtils/blob/master/"))
|
||||
remoteLineSuffix.set("#L")
|
||||
}
|
||||
}
|
||||
@@ -130,4 +130,12 @@ tasks.dokkaHtml {
|
||||
}
|
||||
}
|
||||
|
||||
//dependencies {
|
||||
// project.parent.subprojects.forEach {
|
||||
// if (it != project) {
|
||||
// dokka(it)
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
apply from: "$defaultAndroidSettings"
|
||||
|
||||
Reference in New Issue
Block a user