-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reintroduce removed analysis APIs with a deprecation message (#3104)
(cherry picked from commit 0be3973)
- Loading branch information
1 parent
acaac14
commit a09a068
Showing
8 changed files
with
352 additions
and
0 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
12 changes: 12 additions & 0 deletions
12
plugins/base/src/main/kotlin/deprecated/AnalysisApiDeprecatedError.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,12 @@ | ||
package org.jetbrains.dokka.base.deprecated | ||
|
||
import org.jetbrains.dokka.InternalDokkaApi | ||
|
||
// TODO all API that mentions this message or error can be removed in Dokka >= 2.1 | ||
|
||
internal const val ANALYSIS_API_DEPRECATION_MESSAGE = | ||
"Dokka's Analysis API has been reworked. Please, see the following issue for details and migration options: " + | ||
"https://github.com/Kotlin/dokka/issues/3099" | ||
|
||
@InternalDokkaApi | ||
class AnalysisApiDeprecatedError : Error(ANALYSIS_API_DEPRECATION_MESSAGE) |
Oops, something went wrong.