File tree 2 files changed +4
-2
lines changed 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,9 @@ tasks.withType<AbstractDokkaLeafTask>().configureEach {
384
384
385
385
failOnWarning.set(true )
386
386
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
+
388
390
// reportUndocumented.set(true) // much noisy output about `hashCode` and serializer encoders, decoders etc
389
391
skipDeprecated.set(true )
390
392
// Enum members and undocumented toString()
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ versionSuffix=SNAPSHOT
8
8
tzdbVersion =2025b
9
9
10
10
defaultKotlinVersion =2.1.0
11
- dokkaVersion =1.9.20
11
+ dokkaVersion =2.0.0
12
12
serializationVersion =1.6.2
13
13
benchmarksVersion =0.7.2
14
14
bcvVersion =0.17.0
You can’t perform that action at this time.
0 commit comments