File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -406,18 +406,10 @@ tasks.withType<AbstractDokkaLeafTask>().configureEach {
406
406
matchingRegex.set(" .*\\ .internal\\ ..*" )
407
407
suppress.set(true )
408
408
}
409
-
410
- if (name.endsWith(" Main" )) {
411
- sourceLink {
412
- // sources are located in PLATFORM/src,
413
- // where PLATFORM could be jvm, js, darwin, etc
414
- // configuration happens upper in the build script
415
- val platform = name.dropLast(4 )
416
- val relPath = rootProject.projectDir.toPath().relativize(projectDir.toPath())
417
- localDirectory.set(projectDir.resolve(" $platform /src" ))
418
- remoteUrl.set(URL (" https://github.com/kotlin/kotlinx-datetime/tree/master/$relPath /$platform /src" ))
419
- remoteLineSuffix.set(" #L" )
420
- }
409
+ sourceLink {
410
+ localDirectory.set(rootDir)
411
+ remoteUrl.set(URL (" https://github.com/kotlin/kotlinx-datetime/tree/master" ))
412
+ remoteLineSuffix.set(" #L" )
421
413
}
422
414
}
423
415
}
You can’t perform that action at this time.
0 commit comments