Skip to content

Commit

Permalink
disable javadoc generation for source files due to dokka
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Aug 29, 2023
1 parent 62ea4e5 commit 4b1cc50
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ConfigurePublication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fun Project.publishMultiplatform() {
val properties = gradleLocalProperties(rootDir)
val isReleaseBuild = properties["release"]?.toString().toBoolean()

val javadocTask = tasks.named(if (isReleaseBuild) "dokkaJavadocJar" else "emptyJavadocJar")
val javadocTask = tasks.named("emptyJavadocJar") // TODO: Dokka does not support KMP javadocs for now

afterEvaluate {
requireNotNull(extensions.findByType<PublishingExtension>()).apply {
Expand Down

0 comments on commit 4b1cc50

Please sign in to comment.