aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/resources/linkable/samples
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-08-31 16:02:13 +0200
committerGitHub <noreply@github.com>2023-08-31 16:02:13 +0200
commit6a181a7a2b03ec263788d137610e86937a57d434 (patch)
tree22368589814dad150ad6de243cc2da3cdff926a6 /plugins/base/src/test/resources/linkable/samples
parentc63ea36637ce956029fb15b1482c0683ecb8a587 (diff)
downloaddokka-6a181a7a2b03ec263788d137610e86937a57d434.tar.gz
dokka-6a181a7a2b03ec263788d137610e86937a57d434.tar.bz2
dokka-6a181a7a2b03ec263788d137610e86937a57d434.zip
Update copyright (#3149)
* Add the default copyright profile and enable IDEA project settings * Add the license notice file
Diffstat (limited to 'plugins/base/src/test/resources/linkable/samples')
-rw-r--r--plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt6
-rw-r--r--plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt6
-rw-r--r--plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt6
-rw-r--r--plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt6
4 files changed, 20 insertions, 4 deletions
diff --git a/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt b/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt
index b4f66be9..62a961c1 100644
--- a/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt
+++ b/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package p2
class JsClass {
@@ -6,4 +10,4 @@ class JsClass {
* @sample samples.SamplesJs.exampleUsage
*/
fun printWithExclamation(msg: String) = println("$msg!")
-} \ No newline at end of file
+}
diff --git a/plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt b/plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt
index 55be0ad8..5dc791d7 100644
--- a/plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt
+++ b/plugins/base/src/test/resources/linkable/samples/jsMain/resources/Samples.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package samples
import p2.JsClass
@@ -7,4 +11,4 @@ class SamplesJs {
fun exampleUsage() {
JsClass().printWithExclamation("Hi, Js")
}
-} \ No newline at end of file
+}
diff --git a/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt b/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt
index 22d44152..0014cdb7 100644
--- a/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt
+++ b/plugins/base/src/test/resources/linkable/samples/jvmMain/kotlin/JvmClass.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package p2
class JvmClass {
@@ -6,4 +10,4 @@ class JvmClass {
* @sample samples.SamplesJvm.exampleUsage
*/
fun printWithExclamation(msg: String) = println("$msg!")
-} \ No newline at end of file
+}
diff --git a/plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt b/plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt
index 69418fa9..f32538cc 100644
--- a/plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt
+++ b/plugins/base/src/test/resources/linkable/samples/jvmMain/resources/Samples.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package samples
import p2.JvmClass
@@ -7,4 +11,4 @@ class SamplesJvm {
fun exampleUsage() {
JvmClass().printWithExclamation("Hi, Jvm")
}
-} \ No newline at end of file
+}