aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-08-31 16:02:13 +0200
committerGitHub <noreply@github.com>2023-08-31 16:02:13 +0200
commit6a181a7a2b03ec263788d137610e86937a57d434 (patch)
tree22368589814dad150ad6de243cc2da3cdff926a6 /core
parentc63ea36637ce956029fb15b1482c0683ecb8a587 (diff)
downloaddokka-6a181a7a2b03ec263788d137610e86937a57d434.tar.gz
dokka-6a181a7a2b03ec263788d137610e86937a57d434.tar.bz2
dokka-6a181a7a2b03ec263788d137610e86937a57d434.zip
Update copyright (#3149)
* Add the default copyright profile and enable IDEA project settings * Add the license notice file
Diffstat (limited to 'core')
-rw-r--r--core/build.gradle.kts4
-rw-r--r--core/content-matcher-test-utils/build.gradle.kts4
-rw-r--r--core/content-matcher-test-utils/src/main/kotlin/matchers/content/ContentMatchersDsl.kt4
-rw-r--r--core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt4
-rw-r--r--core/src/main/kotlin/ConfigurationJsonUtils.kt4
-rw-r--r--core/src/main/kotlin/CoreExtensions.kt4
-rw-r--r--core/src/main/kotlin/DokkaBootstrap.kt4
-rw-r--r--core/src/main/kotlin/DokkaBootstrapImpl.kt4
-rw-r--r--core/src/main/kotlin/DokkaException.kt4
-rw-r--r--core/src/main/kotlin/DokkaGenerator.kt4
-rw-r--r--core/src/main/kotlin/DokkaVersion.kt4
-rw-r--r--core/src/main/kotlin/InternalDokkaApi.kt4
-rw-r--r--core/src/main/kotlin/configuration.kt4
-rw-r--r--core/src/main/kotlin/defaultConfiguration.kt4
-rw-r--r--core/src/main/kotlin/defaultExternalLinks.kt4
-rw-r--r--core/src/main/kotlin/generation/Generation.kt6
-rw-r--r--core/src/main/kotlin/links/DRI.kt4
-rw-r--r--core/src/main/kotlin/model/CompositeSourceSetID.kt4
-rw-r--r--core/src/main/kotlin/model/DisplaySourceSet.kt4
-rw-r--r--core/src/main/kotlin/model/Documentable.kt4
-rw-r--r--core/src/main/kotlin/model/JvmField.kt4
-rw-r--r--core/src/main/kotlin/model/WithChildren.kt4
-rw-r--r--core/src/main/kotlin/model/additionalExtras.kt4
-rw-r--r--core/src/main/kotlin/model/ancestryNode.kt4
-rw-r--r--core/src/main/kotlin/model/classKinds.kt4
-rw-r--r--core/src/main/kotlin/model/defaultValues.kt6
-rw-r--r--core/src/main/kotlin/model/doc/DocTag.kt6
-rw-r--r--core/src/main/kotlin/model/doc/DocumentationNode.kt4
-rw-r--r--core/src/main/kotlin/model/doc/TagWrapper.kt4
-rw-r--r--core/src/main/kotlin/model/documentableProperties.kt4
-rw-r--r--core/src/main/kotlin/model/documentableUtils.kt6
-rw-r--r--core/src/main/kotlin/model/extraModifiers.kt6
-rw-r--r--core/src/main/kotlin/model/jvmName.kt4
-rw-r--r--core/src/main/kotlin/model/properties/PropertyContainer.kt4
-rw-r--r--core/src/main/kotlin/model/properties/properties.kt4
-rw-r--r--core/src/main/kotlin/pages/ContentNodes.kt4
-rw-r--r--core/src/main/kotlin/pages/PageNodes.kt4
-rw-r--r--core/src/main/kotlin/pages/Pages.kt6
-rw-r--r--core/src/main/kotlin/pages/RendererSpecificPage.kt6
-rw-r--r--core/src/main/kotlin/pages/contentNodeProperties.kt4
-rw-r--r--core/src/main/kotlin/pages/utils.kt4
-rw-r--r--core/src/main/kotlin/plugability/DefaultExtensions.kt4
-rw-r--r--core/src/main/kotlin/plugability/DokkaContext.kt4
-rw-r--r--core/src/main/kotlin/plugability/DokkaJavaPlugin.kt4
-rw-r--r--core/src/main/kotlin/plugability/DokkaPlugin.kt4
-rw-r--r--core/src/main/kotlin/plugability/LazyEvaluated.kt4
-rw-r--r--core/src/main/kotlin/plugability/extensions.kt4
-rw-r--r--core/src/main/kotlin/renderers/PostAction.kt6
-rw-r--r--core/src/main/kotlin/renderers/Renderer.kt6
-rw-r--r--core/src/main/kotlin/transformers/documentation/DocumentableMerger.kt6
-rw-r--r--core/src/main/kotlin/transformers/documentation/DocumentableToPageTranslator.kt6
-rw-r--r--core/src/main/kotlin/transformers/documentation/DocumentableTransformer.kt4
-rw-r--r--core/src/main/kotlin/transformers/documentation/PreMergeDocumentableTransformer.kt4
-rw-r--r--core/src/main/kotlin/transformers/pages/PageCreator.kt6
-rw-r--r--core/src/main/kotlin/transformers/pages/PageTransformer.kt4
-rw-r--r--core/src/main/kotlin/transformers/pages/PageTransformerBuilders.kt6
-rw-r--r--core/src/main/kotlin/transformers/sources/AsyncSourceToDocumentableTranslator.kt4
-rw-r--r--core/src/main/kotlin/transformers/sources/SourceToDocumentableTranslator.kt4
-rw-r--r--core/src/main/kotlin/utilities/Collections.kt4
-rw-r--r--core/src/main/kotlin/utilities/DokkaLogging.kt4
-rw-r--r--core/src/main/kotlin/utilities/Html.kt4
-rw-r--r--core/src/main/kotlin/utilities/SelfRepresentingSingletonSet.kt4
-rw-r--r--core/src/main/kotlin/utilities/ServiceLocator.kt4
-rw-r--r--core/src/main/kotlin/utilities/Uri.kt4
-rw-r--r--core/src/main/kotlin/utilities/associateWithNotNull.kt4
-rw-r--r--core/src/main/kotlin/utilities/cast.kt4
-rw-r--r--core/src/main/kotlin/utilities/json.kt4
-rw-r--r--core/src/main/kotlin/utilities/parallelCollectionOperations.kt4
-rw-r--r--core/src/main/kotlin/validity/PreGenerationChecker.kt6
-rw-r--r--core/src/main/resources/META-INF/dokka/dokka-version.properties4
-rw-r--r--core/src/test/kotlin/model/CompositeSourceSetIDTest.kt4
-rw-r--r--core/src/test/kotlin/model/DisplaySourceSetTest.kt4
-rw-r--r--core/src/test/kotlin/model/DocumentableTest.kt4
-rw-r--r--core/src/test/kotlin/utilities/DokkaConfigurationJsonTest.kt4
-rw-r--r--core/src/test/kotlin/utilities/JsonKtTest.kt4
-rw-r--r--core/test-api/build.gradle.kts4
-rw-r--r--core/test-api/src/main/kotlin/testApi/context/MockContext.kt4
-rw-r--r--core/test-api/src/main/kotlin/testApi/logger/TestLogger.kt4
-rw-r--r--core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt4
-rw-r--r--core/test-api/src/main/kotlin/testApi/testRunner/TestRunner.kt4
80 files changed, 334 insertions, 14 deletions
diff --git a/core/build.gradle.kts b/core/build.gradle.kts
index 24e8ed5a..1a7a13ac 100644
--- a/core/build.gradle.kts
+++ b/core/build.gradle.kts
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
import org.jetbrains.dokkaVersion
import org.jetbrains.registerDokkaArtifactPublication
diff --git a/core/content-matcher-test-utils/build.gradle.kts b/core/content-matcher-test-utils/build.gradle.kts
index f469c03d..673992df 100644
--- a/core/content-matcher-test-utils/build.gradle.kts
+++ b/core/content-matcher-test-utils/build.gradle.kts
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
plugins {
id("org.jetbrains.conventions.kotlin-jvm")
}
diff --git a/core/content-matcher-test-utils/src/main/kotlin/matchers/content/ContentMatchersDsl.kt b/core/content-matcher-test-utils/src/main/kotlin/matchers/content/ContentMatchersDsl.kt
index 962841ba..5a8de9ce 100644
--- a/core/content-matcher-test-utils/src/main/kotlin/matchers/content/ContentMatchersDsl.kt
+++ b/core/content-matcher-test-utils/src/main/kotlin/matchers/content/ContentMatchersDsl.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package matchers.content
import org.jetbrains.dokka.model.withDescendants
diff --git a/core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt b/core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt
index e8b04aa2..a6549b31 100644
--- a/core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt
+++ b/core/content-matcher-test-utils/src/main/kotlin/matchers/content/contentMatchers.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
@file:Suppress("PackageDirectoryMismatch")
package org.jetbrains.dokka.test.tools.matchers.content
diff --git a/core/src/main/kotlin/ConfigurationJsonUtils.kt b/core/src/main/kotlin/ConfigurationJsonUtils.kt
index 62c1cc8c..9e03b906 100644
--- a/core/src/main/kotlin/ConfigurationJsonUtils.kt
+++ b/core/src/main/kotlin/ConfigurationJsonUtils.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
import org.jetbrains.dokka.plugability.ConfigurableBlock
diff --git a/core/src/main/kotlin/CoreExtensions.kt b/core/src/main/kotlin/CoreExtensions.kt
index 8b5196c3..d689d102 100644
--- a/core/src/main/kotlin/CoreExtensions.kt
+++ b/core/src/main/kotlin/CoreExtensions.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
import org.jetbrains.dokka.generation.Generation
diff --git a/core/src/main/kotlin/DokkaBootstrap.kt b/core/src/main/kotlin/DokkaBootstrap.kt
index 10a91c5e..13cc9ded 100644
--- a/core/src/main/kotlin/DokkaBootstrap.kt
+++ b/core/src/main/kotlin/DokkaBootstrap.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
import java.util.function.BiConsumer
diff --git a/core/src/main/kotlin/DokkaBootstrapImpl.kt b/core/src/main/kotlin/DokkaBootstrapImpl.kt
index d2e138f0..c0af9a41 100644
--- a/core/src/main/kotlin/DokkaBootstrapImpl.kt
+++ b/core/src/main/kotlin/DokkaBootstrapImpl.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
import org.jetbrains.dokka.utilities.DokkaLogger
diff --git a/core/src/main/kotlin/DokkaException.kt b/core/src/main/kotlin/DokkaException.kt
index 9a5e3d04..cc487175 100644
--- a/core/src/main/kotlin/DokkaException.kt
+++ b/core/src/main/kotlin/DokkaException.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
open class DokkaException(message: String) : RuntimeException(message)
diff --git a/core/src/main/kotlin/DokkaGenerator.kt b/core/src/main/kotlin/DokkaGenerator.kt
index a14775cb..6132b92f 100644
--- a/core/src/main/kotlin/DokkaGenerator.kt
+++ b/core/src/main/kotlin/DokkaGenerator.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
@file:Suppress("SameParameterValue")
package org.jetbrains.dokka
diff --git a/core/src/main/kotlin/DokkaVersion.kt b/core/src/main/kotlin/DokkaVersion.kt
index 58dd0310..37ce77ba 100644
--- a/core/src/main/kotlin/DokkaVersion.kt
+++ b/core/src/main/kotlin/DokkaVersion.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
import java.util.*
diff --git a/core/src/main/kotlin/InternalDokkaApi.kt b/core/src/main/kotlin/InternalDokkaApi.kt
index 0582d350..65c0427c 100644
--- a/core/src/main/kotlin/InternalDokkaApi.kt
+++ b/core/src/main/kotlin/InternalDokkaApi.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
diff --git a/core/src/main/kotlin/configuration.kt b/core/src/main/kotlin/configuration.kt
index e9792f2d..9cbc6ea2 100644
--- a/core/src/main/kotlin/configuration.kt
+++ b/core/src/main/kotlin/configuration.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
import org.jetbrains.dokka.utilities.cast
diff --git a/core/src/main/kotlin/defaultConfiguration.kt b/core/src/main/kotlin/defaultConfiguration.kt
index 66154570..2ea5e0ef 100644
--- a/core/src/main/kotlin/defaultConfiguration.kt
+++ b/core/src/main/kotlin/defaultConfiguration.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
import org.jetbrains.dokka.DokkaConfiguration.DokkaSourceSet
diff --git a/core/src/main/kotlin/defaultExternalLinks.kt b/core/src/main/kotlin/defaultExternalLinks.kt
index e39b557d..8d3b9655 100644
--- a/core/src/main/kotlin/defaultExternalLinks.kt
+++ b/core/src/main/kotlin/defaultExternalLinks.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka
import org.jetbrains.dokka.DokkaConfiguration.ExternalDocumentationLink
diff --git a/core/src/main/kotlin/generation/Generation.kt b/core/src/main/kotlin/generation/Generation.kt
index 230cdae1..185b00f8 100644
--- a/core/src/main/kotlin/generation/Generation.kt
+++ b/core/src/main/kotlin/generation/Generation.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka.generation
import org.jetbrains.dokka.Timer
@@ -12,4 +16,4 @@ fun exitGenerationGracefully(reason: String): Nothing {
throw GracefulGenerationExit(reason)
}
-class GracefulGenerationExit(val reason: String) : Throwable() \ No newline at end of file
+class GracefulGenerationExit(val reason: String) : Throwable()
diff --git a/core/src/main/kotlin/links/DRI.kt b/core/src/main/kotlin/links/DRI.kt
index c4ada6f8..bcd0198b 100644
--- a/core/src/main/kotlin/links/DRI.kt
+++ b/core/src/main/kotlin/links/DRI.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka.links
import com.fasterxml.jackson.annotation.JsonTypeInfo
diff --git a/core/src/main/kotlin/model/CompositeSourceSetID.kt b/core/src/main/kotlin/model/CompositeSourceSetID.kt
index 5b6ecb2a..36318633 100644
--- a/core/src/main/kotlin/model/CompositeSourceSetID.kt
+++ b/core/src/main/kotlin/model/CompositeSourceSetID.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka.model
import org.jetbrains.dokka.DokkaConfiguration
diff --git a/core/src/main/kotlin/model/DisplaySourceSet.kt b/core/src/main/kotlin/model/DisplaySourceSet.kt
index e2818a70..9d637048 100644
--- a/core/src/main/kotlin/model/DisplaySourceSet.kt
+++ b/core/src/main/kotlin/model/DisplaySourceSet.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka.model
import org.jetbrains.dokka.*
diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt
index 64c3e14c..d96b051c 100644
--- a/core/src/main/kotlin/model/Documentable.kt
+++ b/core/src/main/kotlin/model/Documentable.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka.model
import org.jetbrains.dokka.DokkaConfiguration.DokkaSourceSet
diff --git a/core/src/main/kotlin/model/JvmField.kt b/core/src/main/kotlin/model/JvmField.kt
index 623115e0..38829ef5 100644
--- a/core/src/main/kotlin/model/JvmField.kt
+++ b/core/src/main/kotlin/model/JvmField.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka.model
import org.jetbrains.dokka.links.DRI
diff --git a/core/src/main/kotlin/model/WithChildren.kt b/core/src/main/kotlin/model/WithChildren.kt
index 7412971a..01e69fd0 100644
--- a/core/src/main/kotlin/model/WithChildren.kt
+++ b/core/src/main/kotlin/model/WithChildren.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka.model
interface WithChildren<out T> {
diff --git a/core/src/main/kotlin/model/additionalExtras.kt b/core/src/main/kotlin/model/additionalExtras.kt
index 1f6f6d27..64c1e315 100644
--- a/core/src/main/kotlin/model/additionalExtras.kt
+++ b/core/src/main/kotlin/model/additionalExtras.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package org.jetbrains.dokka.model
import org.jetbrains.dokka.links.DRI
diff --git a/core/src/main/kotlin/model/ancestryNode.kt b/core/src/main/kotlin/model/ancestryNode.kt
index 5c3c077b..da469eec 100644
--- a/core/src/main/kotlin/model/ancestryNode.kt
+++ b/