From 732d181e4908ed0ddc513e305addc71560c0e109 Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Wed, 26 Aug 2020 16:56:39 +0200 Subject: Let root package be represented as [root] to the user --- .../gradle/projects/it-basic/src/main/kotlin/RootPackageClass.kt | 8 ++++++++ .../projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 integration-tests/gradle/projects/it-basic/src/main/kotlin/RootPackageClass.kt (limited to 'integration-tests/gradle/projects/it-basic/src/main/kotlin') diff --git a/integration-tests/gradle/projects/it-basic/src/main/kotlin/RootPackageClass.kt b/integration-tests/gradle/projects/it-basic/src/main/kotlin/RootPackageClass.kt new file mode 100644 index 00000000..8ff6c750 --- /dev/null +++ b/integration-tests/gradle/projects/it-basic/src/main/kotlin/RootPackageClass.kt @@ -0,0 +1,8 @@ +@file:Suppress("unused") + +/** + * A class that lives inside the root package + */ +class RootPackageClass { + val description = "I do live in the root package!" +} diff --git a/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt b/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt index 71bc7e63..fc4b36bd 100644 --- a/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt +++ b/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt @@ -2,6 +2,11 @@ package it.basic +import RootPackageClass + +/** + * This class, unlike [RootPackageClass] is located in a sub-package + */ class PublicClass { /** * This function is public and documented -- cgit