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",
1313 " kotlinx-serialization-hocon" ,
1414 " kotlinx-serialization-protobuf" ]
1515
16- def jvmOnlySubprojects = [" kotlinx-serialization-hocon" ]
17-
1816subprojects {
1917 if (! (name in documentedSubprojects)) return
2018 apply plugin : ' org.jetbrains.dokka'
@@ -77,12 +75,8 @@ subprojects {
7775 }
7876
7977 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" ))
8680 remoteLineSuffix. set(" #L" )
8781 }
8882 }
You can’t perform that action at this time.
0 commit comments