diff --git a/libraries/examples/js-example/pom.xml b/libraries/examples/js-example/pom.xml new file mode 100644 index 00000000000..6b0c2687deb --- /dev/null +++ b/libraries/examples/js-example/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.jetbrains.kotlin.examples + examples + 1.0-SNAPSHOT + + + js-example + + + + org.jetbrains.kotlin + stdlib + ${project.version} + + + + + src/main/kotlin + src/test/kotlin + + + + org.jetbrains.kotlin + kotlin-maven-plugin + ${project.version} + + + + + diff --git a/libraries/examples/js-example/src/main/kotlin/sample/Hello.kt b/libraries/examples/js-example/src/main/kotlin/sample/Hello.kt new file mode 100644 index 00000000000..ecef18ae3d8 --- /dev/null +++ b/libraries/examples/js-example/src/main/kotlin/sample/Hello.kt @@ -0,0 +1,7 @@ +package sample + +class Hello { + fun doSomething(): Unit { + println("Hello world!") + } +} \ No newline at end of file diff --git a/libraries/examples/js-example/src/test/kotlin/sample/SampleTest.kt b/libraries/examples/js-example/src/test/kotlin/sample/SampleTest.kt new file mode 100644 index 00000000000..6920f00f726 --- /dev/null +++ b/libraries/examples/js-example/src/test/kotlin/sample/SampleTest.kt @@ -0,0 +1,9 @@ +package test.sample + +import org.junit.Test + +class SampleTest { + Test fun dummy(): Unit { + + } +} \ No newline at end of file diff --git a/libraries/examples/pom.xml b/libraries/examples/pom.xml new file mode 100644 index 00000000000..4b3efbb189e --- /dev/null +++ b/libraries/examples/pom.xml @@ -0,0 +1,25 @@ + + + + 4.0.0 + + + org.jetbrains.kotlin + kotlin-project + 1.0-SNAPSHOT + + + org.jetbrains.kotlin.examples + examples + pom + + + ${project.basedir}/../.. + + + + js-example + +