Skip to content

Commit 2e87bdf

Browse files
author
wavedeck
committed
lint: decrease line length of main dokka source link
1 parent 70738af commit 2e87bdf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

stub/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,16 @@ tasks.create<Jar>("javadocJar") {
7575
}
7676

7777
tasks.withType<DokkaTask>().configureEach {
78+
79+
val remoteSourceUrl = URI(
80+
"https://github.com/grpc/grpc-kotlin/blob/master/stub/src/main/java"
81+
).toURL()
82+
7883
dokkaSourceSets {
7984
named("main") {
8085
sourceLink {
8186
localDirectory.set(file("src/main/java"))
82-
remoteUrl.set(URI("https://github.com/grpc/grpc-kotlin/blob/master/stub/src/main/java").toURL())
87+
remoteUrl.set(remoteSourceUrl)
8388
remoteLineSuffix.set("#L")
8489
}
8590

0 commit comments

Comments
 (0)