aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-integration-tests/testData/multiProjectSingleOut/subB
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-01-17 15:01:18 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-01-20 08:34:33 +0100
commit4417ab37e0e16663bde81efd5207c0e1929b881a (patch)
tree883e76b7a33d8ece6c8a8c8756be61c5ab5d6c88 /runners/gradle-integration-tests/testData/multiProjectSingleOut/subB
parent0e125fce5c09b1a0a8413d2e6be443e29d4ebebe (diff)
downloaddokka-4417ab37e0e16663bde81efd5207c0e1929b881a.tar.gz
dokka-4417ab37e0e16663bde81efd5207c0e1929b881a.tar.bz2
dokka-4417ab37e0e16663bde81efd5207c0e1929b881a.zip
Move the Gradle integration tests back to `:runners`
Diffstat (limited to 'runners/gradle-integration-tests/testData/multiProjectSingleOut/subB')
-rw-r--r--runners/gradle-integration-tests/testData/multiProjectSingleOut/subB/build.gradle7
-rw-r--r--runners/gradle-integration-tests/testData/multiProjectSingleOut/subB/src/main/kotlin/module.kt31
2 files changed, 38 insertions, 0 deletions
diff --git a/runners/gradle-integration-tests/testData/multiProjectSingleOut/subB/build.gradle b/runners/gradle-integration-tests/testData/multiProjectSingleOut/subB/build.gradle
new file mode 100644
index 00000000..7b8ff9f3
--- /dev/null
+++ b/runners/gradle-integration-tests/testData/multiProjectSingleOut/subB/build.gradle
@@ -0,0 +1,7 @@
+apply plugin: 'kotlin'
+
+dependencies {
+ compile group: 'org.jetbrains.kotlin', name: 'kotlin-runtime', version: test_kotlin_version
+ compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: test_kotlin_version
+ compile project(":subA")
+}
diff --git a/runners/gradle-integration-tests/testData/multiProjectSingleOut/subB/src/main/kotlin/module.kt b/runners/gradle-integration-tests/testData/multiProjectSingleOut/subB/src/main/kotlin/module.kt
new file mode 100644
index 00000000..8a87590a
--- /dev/null
+++ b/runners/gradle-integration-tests/testData/multiProjectSingleOut/subB/src/main/kotlin/module.kt
@@ -0,0 +1,31 @@
+package s2
+
+import s1.Super
+import s1.MyClass
+import s1.someCoolThing
+
+/**
+ * Just an entry-point
+ */
+fun main(args: Array<String>) {
+
+}
+
+/**
+ * Take a glass of hot water
+ */
+class Cooler {
+ val myClass = MyClass()
+ val a = myClass.otherworks()
+ val coolest = someCoolThing()
+}
+
+/**
+ * Powerful
+ */
+class Superful : Super() {
+ /**
+ * Overriden magic
+ */
+ override fun bar() = foo(20) * 2
+} \ No newline at end of file