diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-26 16:56:39 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-31 15:10:04 +0200 |
commit | 732d181e4908ed0ddc513e305addc71560c0e109 (patch) | |
tree | 740c3ebe3fa05c3702b30faf07c4f6f87c97e432 /integration-tests/gradle/projects/it-basic/src | |
parent | f0524ce475695be163683cd1fdda2fab58ac0161 (diff) | |
download | dokka-732d181e4908ed0ddc513e305addc71560c0e109.tar.gz dokka-732d181e4908ed0ddc513e305addc71560c0e109.tar.bz2 dokka-732d181e4908ed0ddc513e305addc71560c0e109.zip |
Let root package be represented as [root] to the user
Diffstat (limited to 'integration-tests/gradle/projects/it-basic/src')
-rw-r--r-- | integration-tests/gradle/projects/it-basic/src/main/kotlin/RootPackageClass.kt | 8 | ||||
-rw-r--r-- | integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt | 5 |
2 files changed, 13 insertions, 0 deletions
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 |