aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/stdlib/stdlib.diff
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/gradle/projects/stdlib/stdlib.diff')
-rw-r--r--integration-tests/gradle/projects/stdlib/stdlib.diff18
1 files changed, 17 insertions, 1 deletions
diff --git a/integration-tests/gradle/projects/stdlib/stdlib.diff b/integration-tests/gradle/projects/stdlib/stdlib.diff
index 71d27c99..20404297 100644
--- a/integration-tests/gradle/projects/stdlib/stdlib.diff
+++ b/integration-tests/gradle/projects/stdlib/stdlib.diff
@@ -37,7 +37,7 @@ diff --git a/build.gradle b/build.gradle
index aa8f21b..dd6a2ae 100644
--- a/build.gradle
+++ b/build.gradle
-@@ -1,80 +1,428 @@
+@@ -1,80 +1,444 @@
+import org.jetbrains.dokka.Platform
+
plugins {
@@ -163,6 +163,7 @@ index aa8f21b..dd6a2ae 100644
+ task dokkaStdlib(type: org.jetbrains.dokka.gradle.DokkaTask) {
+ outputDirectory.set(new File(outputDir, "/kotlin-stdlib"))
+ moduleName.set("kotlin-stdlib")
++ pluginsMapConfiguration.set(["org.jetbrains.dokka.base.DokkaBase": """{ "mergeImplicitExpectActualDeclarations": "true" }"""])
+ dokkaSourceSets {
+ register("kotlin-stdlib-common") {
+ skipDeprecated.set(false)
@@ -179,6 +180,16 @@ index aa8f21b..dd6a2ae 100644
+ sourceRoots.from("$kotlin_root/core/builtins/native")
+ sourceRoots.from("$kotlin_root/core/builtins/src")
+ sourceRoots.from("$kotlin_sources/kotlin-stdlib-common")
++ sourceLink {
++ localDirectory.set(file("$kotlin_sources/kotlin-stdlib-common"))
++ remoteUrl.set(new URL("https://github.com/JetBrains/kotlin/tree/master/libraries/stdlib/common/src"))
++ remoteLineSuffix.set("#L")
++ }
++ sourceLink {
++ localDirectory.set(file("$kotlin_root/core/builtins/src"))
++ remoteUrl.set(new URL("https://github.com/JetBrains/kotlin/tree/master/libraries/stdlib/src"))
++ remoteLineSuffix.set("#L")
++ }
+ }
+
+ register("kotlin-stdlib-java-common") {
@@ -220,6 +231,11 @@ index aa8f21b..dd6a2ae 100644
+ matchingRegex.set("kotlin.coroutines.experimental.migration(\$|\\.).*")
+ suppress.set(true)
+ }
++ sourceLink {
++ localDirectory.set(file("$kotlin_sources/kotlin-stdlib"))
++ remoteUrl.set(new URL("https://github.com/JetBrains/kotlin/tree/master/libraries/stdlib/jvm/src"))
++ remoteLineSuffix.set("#L")
++ }
+ }
+
+