diff --git a/compiler-plugin/composable-skippability-checker/plugin/src/main/kotlin/com/vk/compiler/plugin/composable/skippability/checker/SkippabilityComponentRegistrar.kt b/compiler-plugin/composable-skippability-checker/plugin/src/main/kotlin/com/vk/compiler/plugin/composable/skippability/checker/SkippabilityComponentRegistrar.kt index 742757e..2cdc553 100644 --- a/compiler-plugin/composable-skippability-checker/plugin/src/main/kotlin/com/vk/compiler/plugin/composable/skippability/checker/SkippabilityComponentRegistrar.kt +++ b/compiler-plugin/composable-skippability-checker/plugin/src/main/kotlin/com/vk/compiler/plugin/composable/skippability/checker/SkippabilityComponentRegistrar.kt @@ -30,7 +30,14 @@ class SkippabilityComponentRegistrar : ComponentRegistrar { } project.extensionArea.getExtensionPoint(IrGenerationExtension.extensionPointName) - .registerExtension(SkippabilityChecker(isStrongSkippingModeEnabled, isStrongSkippingFailFastEnabled, messageCollector, stableTypeMatchers), LoadingOrder.LAST) + .registerExtension( + SkippabilityChecker( + isStrongSkippingModeEnabled, + isStrongSkippingFailFastEnabled, + messageCollector, + stableTypeMatchers + ), LoadingOrder.LAST, project + ) // FirExtensionRegistrarAdapter.registerExtension(project, SkippabilityCheckerFirExtensionRegistrar()) } diff --git a/compiler-plugin/compose-source-information/cleaner/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/source/information/cleaner/SourceInformationComponentRegistrar.kt b/compiler-plugin/compose-source-information/cleaner/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/source/information/cleaner/SourceInformationComponentRegistrar.kt index 90d1395..6438267 100644 --- a/compiler-plugin/compose-source-information/cleaner/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/source/information/cleaner/SourceInformationComponentRegistrar.kt +++ b/compiler-plugin/compose-source-information/cleaner/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/source/information/cleaner/SourceInformationComponentRegistrar.kt @@ -13,7 +13,7 @@ class SourceInformationComponentRegistrar : ComponentRegistrar { override fun registerProjectComponents(project: MockProject, configuration: CompilerConfiguration) { if (configuration.get(SourceInformationCommandLineProcessor.ENABLED, true)) { project.extensionArea.getExtensionPoint(IrGenerationExtension.extensionPointName) - .registerExtension(SourceInformationIrGeneration(), LoadingOrder.LAST) + .registerExtension(SourceInformationIrGeneration(), LoadingOrder.LAST, project) } } diff --git a/compiler-plugin/compose-test-tag/applier/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/applier/TestTagApplierComponentRegistrar.kt b/compiler-plugin/compose-test-tag/applier/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/applier/TestTagApplierComponentRegistrar.kt index bdcea1d..0a0966d 100644 --- a/compiler-plugin/compose-test-tag/applier/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/applier/TestTagApplierComponentRegistrar.kt +++ b/compiler-plugin/compose-test-tag/applier/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/applier/TestTagApplierComponentRegistrar.kt @@ -13,7 +13,7 @@ class TestTagApplierComponentRegistrar : ComponentRegistrar { override fun registerProjectComponents(project: MockProject, configuration: CompilerConfiguration) { if (configuration.get(TestTagApplierCommandLineProcessor.ENABLED, true)) { project.extensionArea.getExtensionPoint(IrGenerationExtension.extensionPointName) - .registerExtension(TestTagApplierIrGeneration(), LoadingOrder.FIRST) + .registerExtension(TestTagApplierIrGeneration(), LoadingOrder.FIRST, project) } } diff --git a/compiler-plugin/compose-test-tag/cleaner/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/cleaner/TestTagCleanerComponentRegistrar.kt b/compiler-plugin/compose-test-tag/cleaner/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/cleaner/TestTagCleanerComponentRegistrar.kt index 3de0260..d25c25e 100644 --- a/compiler-plugin/compose-test-tag/cleaner/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/cleaner/TestTagCleanerComponentRegistrar.kt +++ b/compiler-plugin/compose-test-tag/cleaner/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/cleaner/TestTagCleanerComponentRegistrar.kt @@ -13,7 +13,7 @@ class TestTagCleanerComponentRegistrar : ComponentRegistrar { override fun registerProjectComponents(project: MockProject, configuration: CompilerConfiguration) { if (configuration.get(TestTagCleanerCommandLineProcessor.ENABLED, true)) { project.extensionArea.getExtensionPoint(IrGenerationExtension.extensionPointName) - .registerExtension(TestTagCleanerIrGeneration(), LoadingOrder.FIRST) + .registerExtension(TestTagCleanerIrGeneration(), LoadingOrder.FIRST, project) } } diff --git a/compiler-plugin/compose-test-tag/drawer/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/drawer/TestTagDrawerComponentRegistrar.kt b/compiler-plugin/compose-test-tag/drawer/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/drawer/TestTagDrawerComponentRegistrar.kt index f13f875..f9fe191 100644 --- a/compiler-plugin/compose-test-tag/drawer/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/drawer/TestTagDrawerComponentRegistrar.kt +++ b/compiler-plugin/compose-test-tag/drawer/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/drawer/TestTagDrawerComponentRegistrar.kt @@ -13,7 +13,7 @@ class TestTagDrawerComponentRegistrar : ComponentRegistrar { override fun registerProjectComponents(project: MockProject, configuration: CompilerConfiguration) { if (configuration.get(TestTagDrawerCommandLineProcessor.ENABLED, true)) { project.extensionArea.getExtensionPoint(IrGenerationExtension.extensionPointName) - .registerExtension(TestTagDrawerIrGeneration(), LoadingOrder.FIRST) + .registerExtension(TestTagDrawerIrGeneration(), LoadingOrder.FIRST, project) } } diff --git a/compiler-plugin/recompose/highlighter/plugin/src/main/kotlin/com/vk/compiler/plugin/recompose/highlighter/RecomposeHighlighterComponentRegistrar.kt b/compiler-plugin/recompose/highlighter/plugin/src/main/kotlin/com/vk/compiler/plugin/recompose/highlighter/RecomposeHighlighterComponentRegistrar.kt index 45a8755..be4fd20 100644 --- a/compiler-plugin/recompose/highlighter/plugin/src/main/kotlin/com/vk/compiler/plugin/recompose/highlighter/RecomposeHighlighterComponentRegistrar.kt +++ b/compiler-plugin/recompose/highlighter/plugin/src/main/kotlin/com/vk/compiler/plugin/recompose/highlighter/RecomposeHighlighterComponentRegistrar.kt @@ -13,7 +13,7 @@ class RecomposeHighlighterComponentRegistrar : ComponentRegistrar { override fun registerProjectComponents(project: MockProject, configuration: CompilerConfiguration) { if (configuration.get(RecomposeHighlighterCommandLineProcessor.ENABLED, true)) { project.extensionArea.getExtensionPoint(IrGenerationExtension.extensionPointName) - .registerExtension(RecomposeHighlighterIrGeneration(), LoadingOrder.FIRST) + .registerExtension(RecomposeHighlighterIrGeneration(), LoadingOrder.FIRST, project) } } diff --git a/compiler-plugin/recompose/logger/plugin/src/main/kotlin/com/vk/compiler/plugin/recompose/logger/RecomposeLoggerComponentRegistrar.kt b/compiler-plugin/recompose/logger/plugin/src/main/kotlin/com/vk/compiler/plugin/recompose/logger/RecomposeLoggerComponentRegistrar.kt index bcbd18f..dd0c3e8 100644 --- a/compiler-plugin/recompose/logger/plugin/src/main/kotlin/com/vk/compiler/plugin/recompose/logger/RecomposeLoggerComponentRegistrar.kt +++ b/compiler-plugin/recompose/logger/plugin/src/main/kotlin/com/vk/compiler/plugin/recompose/logger/RecomposeLoggerComponentRegistrar.kt @@ -15,7 +15,7 @@ class RecomposeLoggerComponentRegistrar : ComponentRegistrar { val logModifierChanges = configuration.get(RecomposeLoggerCommandLineProcessor.LOG_MODIFIER_CHANGES, true) val logFunctionChanges = configuration.get(RecomposeLoggerCommandLineProcessor.LOG_FUNCTION_CHANGES, true) project.extensionArea.getExtensionPoint(IrGenerationExtension.extensionPointName) - .registerExtension(RecomposeLoggerIrGeneration(logModifierChanges, logFunctionChanges), LoadingOrder.FIRST) + .registerExtension(RecomposeLoggerIrGeneration(logModifierChanges, logFunctionChanges), LoadingOrder.FIRST, project) } }