From db33337316392f3aacf16943369fbbe1af2f117d Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Mon, 9 Sep 2019 16:30:41 +0200 Subject: Add a test for multiplatform and kotlinTasks --- .../src/jsMain/kotlin/org/kotlintestmpp/main.kt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain/kotlin/org/kotlintestmpp/main.kt (limited to 'runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain') 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) { + console.log("Hello, world!") +} + +fun js(){} +fun shared(){} + +fun getCurrentDate(): String { + return "test" +} + +fun String.myExtension() = println("test") \ No newline at end of file -- cgit