aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-02 11:12:49 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-02 12:48:53 +0200
commit11a80c62d09d89803016c0feb3f41678bff41cfd (patch)
treea49e3ab7f4b6816c706073be462a014d21d77fde /integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it
parent76132da3437873f5483b8a7ce03b1028fa37d139 (diff)
downloaddokka-11a80c62d09d89803016c0feb3f41678bff41cfd.tar.gz
dokka-11a80c62d09d89803016c0feb3f41678bff41cfd.tar.bz2
dokka-11a80c62d09d89803016c0feb3f41678bff41cfd.zip
Add basic multiplatform gradle integration test
Diffstat (limited to 'integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it')
-rw-r--r--integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it/mpp0/CommonMainClass.kt8
-rw-r--r--integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it/mpp0/ExpectedClass.kt5
2 files changed, 13 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it/mpp0/CommonMainClass.kt b/integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it/mpp0/CommonMainClass.kt
new file mode 100644
index 00000000..499a4f1e
--- /dev/null
+++ b/integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it/mpp0/CommonMainClass.kt
@@ -0,0 +1,8 @@
+package it.mpp0
+
+/**
+ * This class is defined in commonMain
+ */
+class CommonMainClass {
+ fun publicFunction(): String = "public"
+}
diff --git a/integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it/mpp0/ExpectedClass.kt b/integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it/mpp0/ExpectedClass.kt
new file mode 100644
index 00000000..e610b09a
--- /dev/null
+++ b/integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it/mpp0/ExpectedClass.kt
@@ -0,0 +1,5 @@
+package it.mpp0
+
+expect class ExpectedClass {
+ val platform: String
+}