aboutsummaryrefslogtreecommitdiff
path: root/examples/gradle/dokka-multiplatform-example/src/jvmMain/kotlin/org/kotlintestmpp/JvmFunctions.kt
blob: 0ef8a99d22f11bc4f9c6543592dae960e9c14690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package org.kotlintestmpp

import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
import org.kotlintestmpp.common.Foo

/**
 * Function declared in JVM source set
 *
 * also see the [Foo] class
 * @see org.kotlintestmpp.common.Foo
 */
fun jvm() {}

/**
 * Function declared in JVM source set
 *
 * Function with the same name exists in another source set as well.
 */
fun shared() {}

/**
 * Extension declared in JVM source set
 */
fun CoroutineScope.startConnectionPipeline(
    input: String
): Job = launch { TODO() }

/**
 * Extension declared in JVM source set
 */
fun String.myExtension() = println("test2")