aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-integration-tests/testData/multiplatformProject
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-09-18 15:10:24 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-10-10 12:27:20 +0200
commit3aa6f80eec4e922add92646a5d5547b6db82cc4b (patch)
treee32e769a80d55f2e4c3b93ca7ab98f30da1d3d86 /runners/gradle-integration-tests/testData/multiplatformProject
parent47b825f5ce812e2563c2e613ba39dca0d69516d1 (diff)
downloaddokka-3aa6f80eec4e922add92646a5d5547b6db82cc4b.tar.gz
dokka-3aa6f80eec4e922add92646a5d5547b6db82cc4b.tar.bz2
dokka-3aa6f80eec4e922add92646a5d5547b6db82cc4b.zip
Move gradle-integration-tests to new module
Diffstat (limited to 'runners/gradle-integration-tests/testData/multiplatformProject')
-rw-r--r--runners/gradle-integration-tests/testData/multiplatformProject/build.gradle60
-rw-r--r--runners/gradle-integration-tests/testData/multiplatformProject/fileTree.txt18
-rw-r--r--runners/gradle-integration-tests/testData/multiplatformProject/settings.gradle1
-rw-r--r--runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain/kotlin/org/kotlintestmpp/main.kt14
-rw-r--r--runners/gradle-integration-tests/testData/multiplatformProject/src/jvmMain/kotlin/org/kotlintestmpp/main.kt20
5 files changed, 0 insertions, 113 deletions
diff --git a/runners/gradle-integration-tests/testData/multiplatformProject/build.gradle b/runners/gradle-integration-tests/testData/multiplatformProject/build.gradle
deleted file mode 100644
index b5454c55..00000000
--- a/runners/gradle-integration-tests/testData/multiplatformProject/build.gradle
+++ /dev/null
@@ -1,60 +0,0 @@
-buildscript {
- repositories {
- mavenCentral()
- jcenter()
- maven { url "https://dl.bintray.com/kotlin/kotlin-eap-1.1" }
- maven { url "https://dl.bintray.com/kotlin/kotlin-dev" }
- }
- dependencies {
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$test_kotlin_version"
- }
-}
-
-plugins {
- id 'org.jetbrains.dokka'
-}
-
-repositories {
- jcenter()
- mavenLocal()
-}
-
-group 'org.test'
-version '1.0-SNAPSHOT'
-
-apply plugin: "org.jetbrains.kotlin.multiplatform"
-
-kotlin {
- jvm() // Create a JVM target with the default name 'jvm'
- js()
- sourceSets {
- jsMain {
- dependencies{
- implementation "org.jetbrains.kotlin:kotlin-stdlib-js"
- }
- }
- jvmMain {
- dependencies {
- implementation kotlin('stdlib-jdk8')
- }
- }
- }
-}
-
-dependencies {
- dokkaRuntime files(dokka_fatjar)
-}
-
-apply plugin: 'org.jetbrains.dokka'
-
-dokka {
-
- multiplatform {
- javascript {
- targets = ["js"]
- platform = "js"
- kotlinTasks { [tasks.getByPath(":compileKotlinJs")] }
- }
- jvm {}
- }
-}
diff --git a/runners/gradle-integration-tests/testData/multiplatformProject/fileTree.txt b/runners/gradle-integration-tests/testData/multiplatformProject/fileTree.txt
deleted file mode 100644
index e9cc847c..00000000
--- a/runners/gradle-integration-tests/testData/multiplatformProject/fileTree.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-/
- multiplatform-project-root/
- alltypes/
- index.html
- index-outline.html
- index.html
- org.kotlintestmpp/
- get-current-date.html
- index.html
- js.html
- jvm.html
- kotlin.-string/
- index.html
- my-extension.html
- main.html
- shared.html
- package-list
- style.css
diff --git a/runners/gradle-integration-tests/testData/multiplatformProject/settings.gradle b/runners/gradle-integration-tests/testData/multiplatformProject/settings.gradle
deleted file mode 100644
index 0bb1e91b..00000000
--- a/runners/gradle-integration-tests/testData/multiplatformProject/settings.gradle
+++ /dev/null
@@ -1 +0,0 @@
-rootProject.name = "multiplatformProjectRoot"
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
deleted file mode 100644
index a77b50f9..00000000
--- a/runners/gradle-integration-tests/testData/multiplatformProject/src/jsMain/kotlin/org/kotlintestmpp/main.kt
+++ /dev/null
@@ -1,14 +0,0 @@
-package org.kotlintestmpp
-
-fun main(args : Array<String>) {
- console.log("Hello, world!")
-}
-
-fun js(){}
-fun shared(){}
-
-fun getCurrentDate(): String {
- return "test"
-}
-
-fun String.myExtension() = println("test") \ No newline at end of file
diff --git a/runners/gradle-integration-tests/testData/multiplatformProject/src/jvmMain/kotlin/org/kotlintestmpp/main.kt b/runners/gradle-integration-tests/testData/multiplatformProject/src/jvmMain/kotlin/org/kotlintestmpp/main.kt
deleted file mode 100644
index 96d725fc..00000000
--- a/runners/gradle-integration-tests/testData/multiplatformProject/src/jvmMain/kotlin/org/kotlintestmpp/main.kt
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.kotlintestmpp
-
-
-fun main(args : Array<String>) {
- println("Hello, world!")
-}
-
-/**
- * comment for this class
- */
-fun jvm(){}
-fun shared(){}
-
-fun getCurrentDate(): String {
- return "test"
-}
-
-fun String.myExtension() = println("test2")
-
-