Extensions registered before usage
This commit is contained in:
@@ -298,12 +298,12 @@ public class JetCoreEnvironment {
|
|||||||
|
|
||||||
project.registerService(VirtualFileFinderFactory.class, new CliVirtualFileFinderFactory(classPath));
|
project.registerService(VirtualFileFinderFactory.class, new CliVirtualFileFinderFactory(classPath));
|
||||||
|
|
||||||
|
ExternalDeclarationsProvider.OBJECT$.registerExtensionPoint(project);
|
||||||
|
ExpressionCodegenExtension.OBJECT$.registerExtensionPoint(project);
|
||||||
|
|
||||||
for (ComponentRegistrar registrar : configuration.getList(ComponentRegistrar.PLUGIN_COMPONENT_REGISTRARS)) {
|
for (ComponentRegistrar registrar : configuration.getList(ComponentRegistrar.PLUGIN_COMPONENT_REGISTRARS)) {
|
||||||
registrar.registerProjectComponents(project, configuration);
|
registrar.registerProjectComponents(project, configuration);
|
||||||
}
|
}
|
||||||
|
|
||||||
ExternalDeclarationsProvider.OBJECT$.registerExtensionPoint(project);
|
|
||||||
ExpressionCodegenExtension.OBJECT$.registerExtensionPoint(project);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void registerProjectExtensionPoints(ExtensionsArea area) {
|
private static void registerProjectExtensionPoints(ExtensionsArea area) {
|
||||||
|
|||||||
Reference in New Issue
Block a user