Skip to content

Commit

Permalink
fix: Disable javaDoc tasks
Browse files Browse the repository at this point in the history
Update build.gradle.kts to disable JavaDoc generation tasks for pages
These run due to some issue with an old dokka version being included with AGP and cause ASM9 issues
No JavaDoc stuff should run as we use Kotlin and KDoc through dokka

Resolves: 10696
  • Loading branch information
ThomasIent committed Dec 11, 2024
1 parent 5a16806 commit 012fe8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ dependencies {
testImplementation(libs.mockito.kotlin)
}

// https://github.com/Kotlin/dokka/issues/2956
tasks.matching { task ->
task.name.contains("javaDocReleaseGeneration", ignoreCase = true) or
task.name.contains("javaDocDebugGeneration")
}.configureEach {
enabled = false
}

mavenPublishingConfig {
mavenConfigBlock {
name.set(
Expand Down

0 comments on commit 012fe8c

Please sign in to comment.