diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-02 11:12:49 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-02 12:48:53 +0200 |
commit | 11a80c62d09d89803016c0feb3f41678bff41cfd (patch) | |
tree | a49e3ab7f4b6816c706073be462a014d21d77fde /integration-tests/gradle/projects/it-multiplatform-0/src/commonMain/kotlin/it | |
parent | 76132da3437873f5483b8a7ce03b1028fa37d139 (diff) | |
download | dokka-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')
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 +} |