aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-09-09 16:30:41 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-09-09 16:31:55 +0200
commitdb33337316392f3aacf16943369fbbe1af2f117d (patch)
treeb9d23a9379c563f98d4bce868f715b494b349178 /runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain
parent00c8b625b547dd01e8038a3b70a62514983c6974 (diff)
downloaddokka-db33337316392f3aacf16943369fbbe1af2f117d.tar.gz
dokka-db33337316392f3aacf16943369fbbe1af2f117d.tar.bz2
dokka-db33337316392f3aacf16943369fbbe1af2f117d.zip
Add a test for multiplatform and kotlinTasks
Diffstat (limited to 'runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain')
-rw-r--r--runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain/kotlin/org/kotlintestmpp/main.kt14
1 files changed, 14 insertions, 0 deletions
diff --git a/runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain/kotlin/org/kotlintestmpp/main.kt b/runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain/kotlin/org/kotlintestmpp/main.kt
new file mode 100644
index 00000000..a77b50f9
--- /dev/null
+++ b/runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain/kotlin/org/kotlintestmpp/main.kt
@@ -0,0 +1,14 @@
+package org.kotlintestmpp
+
+fun main(args : Array<String>) {
+ console.log("Hello, world!")
+}
+
+fun js(){}
+fun shared(){}
+
+fun getCurrentDate(): String {
+ return "test"
+}
+
+fun String.myExtension() = println("test") \ No newline at end of file