aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-js-ir-0/src/main
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-11-10 11:46:54 +0100
committerGitHub <noreply@github.com>2023-11-10 11:46:54 +0100
commit8e5c63d035ef44a269b8c43430f43f5c8eebfb63 (patch)
tree1b915207b2b9f61951ddbf0ff2e687efd053d555 /integration-tests/gradle/projects/it-js-ir-0/src/main
parenta44efd4ba0c2e4ab921ff75e0f53fc9335aa79db (diff)
downloaddokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.tar.gz
dokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.tar.bz2
dokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.zip
Restructure the project to utilize included builds (#3174)
* Refactor and simplify artifact publishing * Update Gradle to 8.4 * Refactor and simplify convention plugins and build scripts Fixes #3132 --------- Co-authored-by: Adam <897017+aSemy@users.noreply.github.com> Co-authored-by: Oleg Yukhnevich <whyoleg@gmail.com>
Diffstat (limited to 'integration-tests/gradle/projects/it-js-ir-0/src/main')
-rw-r--r--integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt26
-rw-r--r--integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/basic/PublicClass.kt53
-rw-r--r--integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/internal/InternalClass.kt7
-rw-r--r--integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/suppressedByPackage/SuppressedByPackage.kt7
-rw-r--r--integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/suppressedByPath/SuppressedByPath.kt7
5 files changed, 0 insertions, 100 deletions
diff --git a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt b/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt
deleted file mode 100644
index cbe6240e..00000000
--- a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt
+++ /dev/null
@@ -1,26 +0,0 @@
-@file:Suppress("unused")
-
-import org.w3c.dom.url.URLSearchParams
-import org.w3c.dom.HTMLAnchorElement
-import react.dom.html.AnchorHTMLAttributes
-import react.Props
-import react.State
-
-/**
- * A class that lives inside the root package
- */
-class RootPackageClass {
- val description = "I do live in the root package!"
-}
-
-// sample method that uses classes from dom and react, should compile
-fun URLSearchParams.react(props: Props, state: State) {}
-
-fun test(list: MutableList<Int>) = "list"
-
-@JsModule("is-sorted")
-@JsNonModule
-external fun <T> sorted(a: Array<T>): Boolean
-
-// this declaration can be used to check deserialization of dynamic type
-external interface TextLinkProps: AnchorHTMLAttributes<HTMLAnchorElement> \ No newline at end of file
diff --git a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/basic/PublicClass.kt b/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/basic/PublicClass.kt
deleted file mode 100644
index fc4b36bd..00000000
--- a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/basic/PublicClass.kt
+++ /dev/null
@@ -1,53 +0,0 @@
-@file:Suppress("unused")
-
-package it.basic
-
-import RootPackageClass
-
-/**
- * This class, unlike [RootPackageClass] is located in a sub-package
- */
-class PublicClass {
- /**
- * This function is public and documented
- */
- fun publicDocumentedFunction(): String = ""
-
- fun publicUndocumentedFunction(): String = ""
-
- /**
- * This function is internal and documented
- */
- internal fun internalDocumentedFunction(): String = ""
-
- internal fun internalUndocumentedFunction(): String = ""
-
- /**
- * This function is private and documented
- */
- private fun privateDocumentedFunction(): String = ""
-
- private fun privateUndocumentedFunction(): String = ""
-
-
- /**
- * This property is public and documented
- */
- val publicDocumentedProperty: Int = 0
-
- val publicUndocumentedProperty: Int = 0
-
- /**
- * This property internal and documented
- */
- val internalDocumentedProperty: Int = 0
-
- val internalUndocumentedProperty: Int = 0
-
- /**
- * This property private and documented
- */
- private val privateDocumentedProperty: Int = 0
-
- private val privateUndocumentedProperty: Int = 0
-}
diff --git a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/internal/InternalClass.kt b/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/internal/InternalClass.kt
deleted file mode 100644
index 7d42b978..00000000
--- a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/internal/InternalClass.kt
+++ /dev/null
@@ -1,7 +0,0 @@
-package it.internal
-
-/**
- * §INTERNAL§
- * This class is internal and should not be rendered
- */
-internal class InternalClass
diff --git a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/suppressedByPackage/SuppressedByPackage.kt b/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/suppressedByPackage/SuppressedByPackage.kt
deleted file mode 100644
index d8dc9cff..00000000
--- a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/suppressedByPackage/SuppressedByPackage.kt
+++ /dev/null
@@ -1,7 +0,0 @@
-package it.suppressedByPackage
-
-/**
- * §SUPPRESSED§
- * This should not be rendered.
- */
-class SuppressedByPackage
diff --git a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/suppressedByPath/SuppressedByPath.kt b/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/suppressedByPath/SuppressedByPath.kt
deleted file mode 100644
index 4dda9da4..00000000
--- a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/it/suppressedByPath/SuppressedByPath.kt
+++ /dev/null
@@ -1,7 +0,0 @@
-package it.suppressedByPath
-
-/**
- * §SUPPRESSED§
- * This should not be rendered.
- */
-class SuppressedByPath