aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-14 16:02:42 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-14 17:51:11 +0200
commit3f8c99cf04893da8fc3c353cba0133dc54e5febe (patch)
tree95f5b541ad583f85da5130ca01dbff45ec889e6c /integration-tests/gradle
parentf655b97cffd875a33618f4326e0a890d3e73ce24 (diff)
downloaddokka-3f8c99cf04893da8fc3c353cba0133dc54e5febe.tar.gz
dokka-3f8c99cf04893da8fc3c353cba0133dc54e5febe.tar.bz2
dokka-3f8c99cf04893da8fc3c353cba0133dc54e5febe.zip
Use java.net.URL consistently across Gradle Plugin API surface
Diffstat (limited to 'integration-tests/gradle')
-rw-r--r--integration-tests/gradle/projects/it-basic/build.gradle.kts7
1 files changed, 5 insertions, 2 deletions
diff --git a/integration-tests/gradle/projects/it-basic/build.gradle.kts b/integration-tests/gradle/projects/it-basic/build.gradle.kts
index 081197ad..2ef81a6c 100644
--- a/integration-tests/gradle/projects/it-basic/build.gradle.kts
+++ b/integration-tests/gradle/projects/it-basic/build.gradle.kts
@@ -1,4 +1,5 @@
import org.jetbrains.dokka.gradle.DokkaTask
+import java.net.URL
plugins {
kotlin("jvm")
@@ -24,8 +25,10 @@ tasks.withType<DokkaTask> {
sourceLink {
localDirectory.set(file("src/main"))
remoteUrl.set(
- "https://github.com/Kotlin/dokka/tree/master/" +
- "integration-tests/gradle/projects/it-basic/src/main"
+ URL(
+ "https://github.com/Kotlin/dokka/tree/master/" +
+ "integration-tests/gradle/projects/it-basic/src/main"
+ )
)
}
}