Skip to content

Commit 7380325

Browse files
authored
Update to Dokka 2.0.0 (Kotlin#483)
1 parent 4ebeb26 commit 7380325

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,9 @@ tasks.withType<AbstractDokkaLeafTask>().configureEach {
384384

385385
failOnWarning.set(true)
386386
dokkaSourceSets.configureEach {
387-
kotlin.sourceSets.commonTest.get().kotlin.srcDirs.forEach { samples.from(it) }
387+
val testSourceSet = kotlin.sourceSets.named("${name.dropLast(4)}Test")
388+
samples.from(testSourceSet.map { it.kotlin.srcDirs })
389+
388390
// reportUndocumented.set(true) // much noisy output about `hashCode` and serializer encoders, decoders etc
389391
skipDeprecated.set(true)
390392
// Enum members and undocumented toString()

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ versionSuffix=SNAPSHOT
88
tzdbVersion=2025b
99

1010
defaultKotlinVersion=2.1.0
11-
dokkaVersion=1.9.20
11+
dokkaVersion=2.0.0
1212
serializationVersion=1.6.2
1313
benchmarksVersion=0.7.2
1414
bcvVersion=0.17.0

0 commit comments

Comments
 (0)