Skip to content

Commit

Permalink
Update copyright (#3149)
Browse files Browse the repository at this point in the history
* Add the default copyright profile and enable IDEA project settings
* Add the license notice file
  • Loading branch information
IgnatBeresnev committed Aug 31, 2023
1 parent c63ea36 commit 6a181a7
Show file tree
Hide file tree
Showing 948 changed files with 3,963 additions and 169 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Expand Up @@ -11,8 +11,10 @@
hs_err_pid*

### IntelliJ

.idea/
.idea/*
!.idea/copyright
!.idea/codeStyles
**/.idea
/out/

## File-based project format:
Expand Down
10 changes: 10 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/copyright/Dokka.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion .run/it-multiplatform-0_dokka.run.xml
@@ -1,3 +1,7 @@
<!--
~ Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
-->

<component name="ProjectRunConfigurationManager">
<configuration default="false" name="it-multiplatform-0:dokka" type="GradleRunConfiguration" factoryName="Gradle" folderName="sample-projects">
<ExternalSystemSettings>
Expand All @@ -21,4 +25,4 @@
<option name="Gradle.BeforeRunTask" enabled="false" tasks="publishToMavenLocal" externalProjectPath="$PROJECT_DIR$" vmOptions="" scriptParameters="" />
</method>
</configuration>
</component>
</component>
File renamed without changes.
7 changes: 7 additions & 0 deletions NOTICE.txt
@@ -0,0 +1,7 @@
=======================================================================================
== NOTICE file corresponding to the section 4 d of the Apache License, Version 2.0, ==
== in this case for the Dokka project. ==
=======================================================================================

Dokka project
Copyright 2014-2023 JetBrains s.r.o
4 changes: 4 additions & 0 deletions build-logic/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.gradle.kotlin.dsl.support.expectedKotlinDslPluginsVersion

plugins {
Expand Down
4 changes: 4 additions & 0 deletions build-logic/settings.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.
*/

rootProject.name = "build-logic"

pluginManagement {
Expand Down
@@ -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

import org.gradle.api.provider.Provider
Expand Down
@@ -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("LocalVariableName")

package org.jetbrains
Expand Down
4 changes: 4 additions & 0 deletions build-logic/src/main/kotlin/org/jetbrains/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

import org.gradle.api.Project
Expand Down
4 changes: 4 additions & 0 deletions build-logic/src/main/kotlin/org/jetbrains/DokkaVersionType.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

enum class DokkaVersionType(val suffix: Regex) {
Expand Down
@@ -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

import org.gradle.api.DefaultTask
Expand Down
@@ -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.conventions

/**
Expand Down
@@ -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.conventions

/**
Expand Down
@@ -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.conventions

import org.jetbrains.DokkaBuildProperties
Expand Down
@@ -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.conventions

import org.gradle.api.attributes.Usage.USAGE_ATTRIBUTE
Expand Down
@@ -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.conventions

import org.gradle.api.tasks.testing.logging.TestExceptionFormat
Expand Down
@@ -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.conventions

import org.gradle.kotlin.dsl.invoke
Expand Down
@@ -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.conventions

plugins {
Expand Down
@@ -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.conventions

import org.jetbrains.configureDokkaVersion
Expand Down
@@ -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.conventions

import org.gradle.kotlin.dsl.support.serviceOf
Expand Down
@@ -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.conventions

import com.github.jengelman.gradle.plugins.shadow.ShadowPlugin
Expand Down
@@ -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.gradle.kotlin.dsl // for convenience use a default package for gradle.kts scripts
Expand Down
4 changes: 4 additions & 0 deletions build-logic/src/main/kotlin/org/jetbrains/projectUtils.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

import org.gradle.api.Project
Expand Down
4 changes: 4 additions & 0 deletions build-logic/src/main/kotlin/org/jetbrains/publication.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

import com.github.jengelman.gradle.plugins.shadow.ShadowExtension
Expand Down
4 changes: 4 additions & 0 deletions build-logic/src/main/kotlin/org/jetbrains/taskUtils.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

import org.gradle.api.Project
Expand Down
4 changes: 4 additions & 0 deletions 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.ValidatePublications
import org.jetbrains.publicationChannels

Expand Down
4 changes: 4 additions & 0 deletions 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

Expand Down
4 changes: 4 additions & 0 deletions 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")
}
Expand Down
@@ -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
Expand Down
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions 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
Expand Down
4 changes: 4 additions & 0 deletions 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
Expand Down
4 changes: 4 additions & 0 deletions 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
Expand Down
4 changes: 4 additions & 0 deletions 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
Expand Down
4 changes: 4 additions & 0 deletions 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)
4 changes: 4 additions & 0 deletions 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
Expand Down
4 changes: 4 additions & 0 deletions 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.*
Expand Down
4 changes: 4 additions & 0 deletions 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


Expand Down
4 changes: 4 additions & 0 deletions 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
Expand Down
4 changes: 4 additions & 0 deletions 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
Expand Down
4 changes: 4 additions & 0 deletions 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
Expand Down
6 changes: 5 additions & 1 deletion 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
Expand All @@ -12,4 +16,4 @@ fun exitGenerationGracefully(reason: String): Nothing {
throw GracefulGenerationExit(reason)
}

class GracefulGenerationExit(val reason: String) : Throwable()
class GracefulGenerationExit(val reason: String) : Throwable()
4 changes: 4 additions & 0 deletions 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
Expand Down
4 changes: 4 additions & 0 deletions 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
Expand Down

0 comments on commit 6a181a7

Please sign in to comment.