Skip to content

Commit 26e67d8

Browse files
author
Andras
committed
chore: Fix Dokka Configuration
1 parent 51bd398 commit 26e67d8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎build.gradle.kts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ subprojects {
2020
endWithNewline()
2121
}
2222
}
23+
24+
configurations.configureEach {
25+
resolutionStrategy.eachDependency {
26+
if (requested.group == "org.jetbrains.dokka") {
27+
useVersion("1.9.20")
28+
because("Dokka needs ASM9+ to read Java 17 sealed classes (PermittedSubclasses).")
29+
}
30+
}
31+
}
2332
}
2433

2534
tasks.withType<Test> {

0 commit comments

Comments
 (0)