aboutsummaryrefslogtreecommitdiff
path: root/subprojects/analysis-kotlin-descriptors/compiler/src
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2023-07-17 17:33:46 +0300
committerGitHub <noreply@github.com>2023-07-17 17:33:46 +0300
commit298065f1595e53f44ac63114fbb95d9caaaf9e8f (patch)
tree85977122e4b7fb1f56b947a8672cbf1e64750fde /subprojects/analysis-kotlin-descriptors/compiler/src
parente8d320aee5a7c922535b534a1bd87fd3cb49f5d0 (diff)
downloaddokka-298065f1595e53f44ac63114fbb95d9caaaf9e8f.tar.gz
dokka-298065f1595e53f44ac63114fbb95d9caaaf9e8f.tar.bz2
dokka-298065f1595e53f44ac63114fbb95d9caaaf9e8f.zip
Get rif of IDE plugin dependencies (#3073)
* Get rif of IDE plugin dependencies Everything in this commit has been copy-pasted from IDE plugin and marked as internal
Diffstat (limited to 'subprojects/analysis-kotlin-descriptors/compiler/src')
-rw-r--r--subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisContext.kt1
-rw-r--r--subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisEnvironment.kt4
2 files changed, 0 insertions, 5 deletions
diff --git a/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisContext.kt b/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisContext.kt
index 89ae8810..c0a0212a 100644
--- a/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisContext.kt
+++ b/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisContext.kt
@@ -48,7 +48,6 @@ internal fun createAnalysisContext(
val analysisEnvironment = AnalysisEnvironment(
DokkaMessageCollector(context.logger),
sourceSet.analysisPlatform,
- context.plugin<CompilerDescriptorAnalysisPlugin>().querySingle { compilerExtensionPointProvider },
context.plugin<CompilerDescriptorAnalysisPlugin>().querySingle { mockApplicationHack },
context.plugin<CompilerDescriptorAnalysisPlugin>().querySingle { klibService },
).apply {
diff --git a/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisEnvironment.kt b/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisEnvironment.kt
index 611d1325..0fb07412 100644
--- a/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisEnvironment.kt
+++ b/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/configuration/AnalysisEnvironment.kt
@@ -91,7 +91,6 @@ internal const val JAR_SEPARATOR = "!/"
class AnalysisEnvironment(
private val messageCollector: MessageCollector,
internal val analysisPlatform: Platform,
- private val compilerExtensionPointProvider: CompilerExtensionPointProvider,
private val mockApplicationHack: MockApplicationHack,
private val kLibService: KLibService,
) : Disposable {
@@ -148,9 +147,6 @@ class AnalysisEnvironment(
CustomJavadocTagProvider { emptyList() }
)
- compilerExtensionPointProvider.get().forEach { extension ->
- registerExtensionPoint(extension.extensionDescriptor, extension.extensions, this)
- }
return environment
}