Skip to content

Commit 3adcc4e

Browse files
committed
Fix dokka build
1 parent cdf9b09 commit 3adcc4e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,14 @@ val sonatypePublishingBundleConfiguration by configurations.creating {
3636

3737
// Merges individual module docs into a single HTML output
3838
dependencies {
39+
val undocumentedProjects = listOf(":static-sqlite-driver", ":internal:sqlite3mcandroid")
40+
3941
for (projectPath in SonatypeCentralUploadPlugin.publishedProjects) {
40-
dokka(project(path=projectPath, configuration="dokka"))
42+
if (!undocumentedProjects.contains(projectPath)) {
43+
// static-sqlite-driver doesn't have a public documentation, we build docs for the rest.
44+
dokka(project(path=projectPath))
45+
}
46+
4147
sonatypePublishingBundleConfiguration(project(path=projectPath, configuration="sonatypePublishingBundleConfiguration"))
4248
}
4349
}

0 commit comments

Comments
 (0)