From 60858d8697231674c055bd30b34950d9859a6f32 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Fri, 16 Jun 2017 22:47:52 +0300 Subject: Add gradle integration tests --- .../subA/src/main/kotlin/module.kt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt (limited to 'runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt') diff --git a/runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt b/runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt new file mode 100644 index 00000000..126d7f3e --- /dev/null +++ b/runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt @@ -0,0 +1,31 @@ +package s1 + +/** + * Coolest one + */ +fun someCoolThing(s: String) = s.repeat(2) + +/** + * Just a class + */ +class MyClass { + /** + * Ultimate answer to all questions + */ + fun otherworks(): Int = 42 +} + +/** + * Just a SUPER class + */ +open class Super { + /** + * Same as [MyClass.otherworks] + */ + fun foo(i: Int = 21) = i * 2 + + /** + * magic + */ + open fun bar() = foo() +} \ No newline at end of file -- cgit