Skip to content

Commit ddb8890

Browse files
committed
update docs
1 parent f9ad4bf commit ddb8890

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

build.gradle.kts

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ publishing {
179179
}
180180
}
181181
repositories {
182-
if (project.hasProperty("publishToCentral")) {
182+
if (!project.hasProperty("publishToSpace")) {
183183
maven {
184184
name = "nexus"
185185
val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
@@ -248,14 +248,32 @@ tasks {
248248
outputFormat = "html"
249249

250250
multiplatform {
251-
val js by creating {}
252-
val jvm by creating {}
251+
val js by creating {
252+
sourceLink {
253+
path = "/src"
254+
url = "https://github.com/adamint/spotify-web-api-kotlin/tree/master/"
255+
lineSuffix = "#L"
256+
}
257+
}
258+
val jvm by creating {
259+
sourceLink {
260+
path = "/src"
261+
url = "https://github.com/adamint/spotify-web-api-kotlin/tree/master/"
262+
lineSuffix = "#L"
263+
}
264+
}
253265

254-
register("common") {}
266+
register("common") {
267+
sourceLink {
268+
path = "/src"
269+
url = "https://github.com/adamint/spotify-web-api-kotlin/tree/master/"
270+
lineSuffix = "#L"
271+
}
272+
}
255273

256274
register("global") {
257275
sourceLink {
258-
path = "./"
276+
path = "/src"
259277
url = "https://github.com/adamint/spotify-web-api-kotlin/tree/master/"
260278
lineSuffix = "#L"
261279
}

0 commit comments

Comments
 (0)