-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into adam/feat/KT-70336/dgpv2-kdoc
- Loading branch information
Showing
728 changed files
with
82,138 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
dokka-integration-tests/gradle/projects/it-multiplatform-multimodule/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
plugins { | ||
kotlin("multiplatform") apply false | ||
id("org.jetbrains.dokka") | ||
} |
17 changes: 17 additions & 0 deletions
17
dokka-integration-tests/gradle/projects/it-multiplatform-multimodule/first/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
plugins { | ||
kotlin("multiplatform") | ||
id("org.jetbrains.dokka") | ||
} | ||
|
||
kotlin { | ||
jvm() | ||
linuxX64() | ||
linuxArm64() | ||
macosX64() | ||
macosArm64() | ||
js() | ||
} |
20 changes: 20 additions & 0 deletions
20
...ests/gradle/projects/it-multiplatform-multimodule/first/src/commonMain/kotlin/Subclass.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
package it.mpp.first | ||
|
||
/** | ||
* This is an annotation which should be used for opt-in | ||
* e.g [SealedSerializationApi](https://github.com/Kotlin/kotlinx.serialization/blob/99be48514c1d0a975bb80d7bd37df429a9670064/core/commonMain/src/kotlinx/serialization/ApiLevels.kt#L50) | ||
*/ | ||
@MustBeDocumented | ||
@RequiresOptIn | ||
annotation class SomeApi | ||
|
||
/** | ||
* Class which should be somehow used by dependent module | ||
*/ | ||
@OptIn(ExperimentalSubclassOptIn::class) | ||
@SubclassOptInRequired(SomeApi::class) | ||
interface Subclass |
9 changes: 9 additions & 0 deletions
9
dokka-integration-tests/gradle/projects/it-multiplatform-multimodule/gradle.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
# | ||
|
||
kotlin.js.compiler=ir | ||
|
||
# to sync the project locally, check dokka-integration-tests/gradle/projects/README.md | ||
#dokka_it_kotlin_version= | ||
#dokka_it_dokka_version= |
25 changes: 25 additions & 0 deletions
25
dokka-integration-tests/gradle/projects/it-multiplatform-multimodule/second/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
plugins { | ||
kotlin("multiplatform") | ||
id("org.jetbrains.dokka") | ||
} | ||
|
||
kotlin { | ||
jvm() | ||
linuxX64() | ||
linuxArm64() | ||
macosX64() | ||
macosArm64() | ||
js() | ||
|
||
sourceSets { | ||
commonMain { | ||
dependencies { | ||
api(project(":first")) | ||
} | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...-tests/gradle/projects/it-multiplatform-multimodule/second/src/commonMain/kotlin/Usage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package it.mpp.second | ||
|
||
import it.mpp.first.* | ||
|
||
/** | ||
* exposes [Subclass] from another module which has [SubclassOptInRequired] annotation present | ||
*/ | ||
class Usage( | ||
val subclass: Subclass | ||
) |
9 changes: 9 additions & 0 deletions
9
dokka-integration-tests/gradle/projects/it-multiplatform-multimodule/settings.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
apply(from = "template.settings.gradle.kts") | ||
rootProject.name = "it-multiplatform-multimodule" | ||
|
||
include(":first") | ||
include(":second") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...adle/projects/ui-showcase/previousDocVersions/1.0/images/anchor-copy-button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...tests/gradle/projects/ui-showcase/previousDocVersions/1.0/images/arrow_down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
...ion-tests/gradle/projects/ui-showcase/previousDocVersions/1.0/images/burger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...-tests/gradle/projects/ui-showcase/previousDocVersions/1.0/images/copy-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...le/projects/ui-showcase/previousDocVersions/1.0/images/copy-successful-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...radle/projects/ui-showcase/previousDocVersions/1.0/images/footer-go-to-link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions
8
...s/gradle/projects/ui-showcase/previousDocVersions/1.0/images/go-to-top-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...n-tests/gradle/projects/ui-showcase/previousDocVersions/1.0/images/homepage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
...-tests/gradle/projects/ui-showcase/previousDocVersions/1.0/images/logo-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.