IDEA-76142: Gradle support - cannot update IDEA projects once one of build.gradle...
[idea/community.git] / plugins / gradle / src / META-INF / plugin.xml
1 <!--
2   ~  Copyright 2000-2011 JetBrains s.r.o.
3   ~  Licensed under the Apache License, Version 2.0 (the "License");
4   ~  you may not use this file except in compliance with the License.
5   ~  You may obtain a copy of the License at
6   ~
7   ~  http://www.apache.org/licenses/LICENSE-2.0
8   ~
9   ~  Unless required by applicable law or agreed to in writing, software
10   ~  distributed under the License is distributed on an "AS IS" BASIS,
11   ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12   ~  See the License for the specific language governing permissions and
13   ~  limitations under the License.
14   ~
15   -->
16
17 <idea-plugin url="http://confluence.jetbrains.net/display/IDEADEV/Gradle+integration">
18   <name>Gradle</name>
19   <id>org.jetbrains.plugins.gradle</id>
20   <vendor logo="/icons/gradle.png" url="http://www.jetbrains.com">JetBrains Inc.</vendor>
21   <description>Gradle integration</description>
22
23   <depends>com.intellij.modules.lang</depends>
24   <depends>org.intellij.groovy</depends>
25
26   <extensions defaultExtensionNs="com.intellij">
27     <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
28     <projectImportProvider implementation="org.jetbrains.plugins.gradle.importing.GradleProjectImportProvider"/>
29     <projectImportBuilder implementation="org.jetbrains.plugins.gradle.importing.GradleProjectImportBuilder"/>
30     <projectConfigurable instance="org.jetbrains.plugins.gradle.config.GradleConfigurable"/>
31     <library.presentationProvider implementation="org.jetbrains.plugins.gradle.config.GradleLibraryPresentationProvider" order="last"/>
32     <java.elementFinder implementation="org.jetbrains.plugins.gradle.config.GradleClassFinder"/>
33     <projectOpenProcessor implementation="org.jetbrains.plugins.gradle.importing.GradleProjectOpenProcessor"/>
34     <colorAndFontPanelFactory implementation="org.jetbrains.plugins.gradle.config.GradleColorAndFontPanelFactory"/>
35     <colorAndFontDescriptorProvider implementation="org.jetbrains.plugins.gradle.config.GradleColorAndFontDescriptorsProvider"/>
36
37     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.remote.GradleApiFacadeManager"/>
38     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.util.GradleLibraryManager"/>
39     <applicationService serviceInterface="org.jetbrains.plugins.gradle.diff.GradleStructureChangesCalculator"
40                         serviceImplementation="org.jetbrains.plugins.gradle.diff.GradleProjectStructureChangesCalculator"/>
41     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.diff.GradleModuleStructureChangesCalculator"/>
42     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.diff.GradleLibraryDependencyStructureChangesCalculator"/>
43     <applicationService serviceInterface="org.jetbrains.plugins.gradle.diff.PlatformFacade"
44                         serviceImplementation="org.jetbrains.plugins.gradle.diff.GradleProjectStructureHelperImpl"/>
45     <applicationService serviceInterface="org.jetbrains.plugins.gradle.notification.GradleProgressNotificationManager"
46                         serviceImplementation="org.jetbrains.plugins.gradle.notification.GradleProgressNotificationManagerImpl"/>
47
48     <projectService serviceImplementation="org.jetbrains.plugins.gradle.config.GradleSettings"/>
49     <projectService serviceImplementation="org.jetbrains.plugins.gradle.config.GradleProjectState"/>
50   </extensions>
51
52   <extensions defaultExtensionNs="org.intellij.groovy">
53     <positionManagerDelegate implementation="org.jetbrains.plugins.gradle.config.GradlePositionManager"/>
54     <scriptTypeDetector implementation="org.jetbrains.plugins.gradle.config.GradleScriptTypeDetector"/>
55     <defaultImportContributor implementation="org.jetbrains.plugins.gradle.config.GradleDefaultImportContributor"/>
56   </extensions>
57
58   <project-components>
59     <component>
60       <implementation-class>org.jetbrains.plugins.gradle.bootstrap.GradleBootstrap</implementation-class>
61     </component>
62     <component>
63       <implementation-class>org.jetbrains.plugins.gradle.sync.GradleProjectStructureChangesModel</implementation-class>
64     </component>
65   </project-components>
66   
67   <actions>
68     <action id="Gradle.LinkToProject" class="org.jetbrains.plugins.gradle.action.GradleLinkToProjectAction" icon="/general/add.png"/>
69     <action id="Gradle.RefreshProject" class="org.jetbrains.plugins.gradle.action.GradleRefreshProjectAction" icon="/actions/sync.png"/>
70     <action id="Gradle.OpenScript" class="org.jetbrains.plugins.gradle.action.GradleOpenScriptAction" icon="/icons/gradle.png"/>
71     <group id="Gradle.ChangeActionsToolbar">
72       <reference id="Gradle.RefreshProject"/>
73       <reference id="Gradle.OpenScript"/>
74     </group>
75   </actions>
76   
77 </idea-plugin>