File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ def documentedSubprojects = ["kotlinx-serialization-core",
13
13
" kotlinx-serialization-hocon" ,
14
14
" kotlinx-serialization-protobuf" ]
15
15
16
- def jvmOnlySubprojects = [" kotlinx-serialization-hocon" ]
17
-
18
16
subprojects {
19
17
if (! (name in documentedSubprojects)) return
20
18
apply plugin : ' org.jetbrains.dokka'
@@ -77,12 +75,8 @@ subprojects {
77
75
}
78
76
79
77
sourceLink {
80
- // sources directory for MPP configured in gradle/configure-source-sets.gradle:61
81
- // in short - kotlin.srcDirs = ["$sourceSet.name/src"]
82
- def sourcesPath = project. name in jvmOnlySubprojects ? " src/main/kotlin" : " $name /src"
83
- def relProjectPath = rootProject. projectDir. toPath(). relativize(projectDir. toPath())
84
- localDirectory. set(file(sourcesPath))
85
- remoteUrl. set(new URL (" https://github.com/Kotlin/kotlinx.serialization/tree/master/$relProjectPath /$sourcesPath " ))
78
+ localDirectory. set(rootDir)
79
+ remoteUrl. set(new URL (" https://github.com/Kotlin/kotlinx.serialization/tree/master" ))
86
80
remoteLineSuffix. set(" #L" )
87
81
}
88
82
}
You can’t perform that action at this time.
0 commit comments