summaryrefslogtreecommitdiff
path: root/plugins/gradle/plugin-resources/META-INF/plugin.xml
blob: b201d882de6678c78ffac60a8442858781c6ce0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<idea-plugin url="https://www.jetbrains.com/help/idea/gradle.html">
  <name>Gradle</name>
  <id>com.intellij.gradle</id>
  <category>Build Tools</category>
  <vendor>JetBrains</vendor>
  <description>
      <![CDATA[
      Provides integration with <a href="http://www.gradle.org">Gradle</a> for automation of building, testing, publishing, and deployment of software packages.
      <ul>
      <li>Create a new Gradle project or import an existing Gradle project.</li>
      <li>Edit Gradle files with coding assistance (code completion, inspections, refactoring, and much more).</li>
      <li>Synchronize the project structure with the Gradle model.</li>
      <li>Run Gradle tasks with the Gradle run/debug configuration.</li>
      </ul>
       To use the <b>Gradle</b> tool window, select <b>View | Tool Windows | Gradle</b>.
      ]]>
  </description>

  <depends>com.intellij.modules.lang</depends>
  <depends>com.intellij.modules.externalSystem</depends>
  <depends optional="true" config-file="gradle-properties.xml">com.intellij.properties</depends>

  <resource-bundle>messages.GradleBundle</resource-bundle>

  <extensionPoints>
    <extensionPoint qualifiedName="org.jetbrains.plugins.gradle.projectResolve" interface="org.jetbrains.plugins.gradle.service.project.GradleProjectResolverExtension"
                    dynamic="true"/>
    <extensionPoint qualifiedName="org.jetbrains.plugins.gradle.projectModelContributor" interface="org.jetbrains.plugins.gradle.service.project.ProjectModelContributor"
                    dynamic="true"/>
    <extensionPoint qualifiedName= "org.jetbrains.plugins.gradle.taskManager" interface="org.jetbrains.plugins.gradle.service.task.GradleTaskManagerExtension"
                    dynamic="true"/>
    <extensionPoint qualifiedName="org.jetbrains.plugins.gradle.settingsControlProvider" interface="org.jetbrains.plugins.gradle.service.settings.GradleSettingsControlProvider"
                    dynamic="true"/>
    <extensionPoint qualifiedName="org.jetbrains.plugins.gradle.importCustomizer" interface="org.jetbrains.plugins.gradle.service.project.GradleImportCustomizer"
                    dynamic="true"/>
    <extensionPoint qualifiedName="org.jetbrains.plugins.gradle.executionEnvironmentProvider" interface="org.jetbrains.plugins.gradle.execution.build.GradleExecutionEnvironmentProvider"
                    dynamic="true"/>
    <extensionPoint qualifiedName="org.jetbrains.plugins.gradle.orderEnumerationHandlerFactory"
                    interface="org.jetbrains.plugins.gradle.execution.GradleOrderEnumeratorHandler$FactoryImpl"
                    dynamic="true"/>
    <extensionPoint qualifiedName="org.jetbrains.plugins.gradle.issueChecker" interface="org.jetbrains.plugins.gradle.issue.GradleIssueChecker"
                    dynamic="true"/>
    <extensionPoint qualifiedName="org.jetbrains.plugins.gradle.targetEnvironmentAware" interface="org.jetbrains.plugins.gradle.execution.target.GradleTargetEnvironmentAware"
                    dynamic="true"/>
  </extensionPoints>

  <extensions defaultExtensionNs="org.jetbrains.plugins.gradle">
    <projectResolve implementation="org.jetbrains.plugins.gradle.service.project.BaseResolverExtension"/>
    <projectResolve implementation="org.jetbrains.plugins.gradle.service.project.CommonGradleProjectResolverExtension"/>
    <issueChecker implementation="org.jetbrains.plugins.gradle.issue.UnsupportedGradleVersionIssueChecker"/>
    <issueChecker implementation="org.jetbrains.plugins.gradle.issue.IncompatibleGradleJdkIssueChecker"/>
    <issueChecker implementation="org.jetbrains.plugins.gradle.issue.GradleDaemonStartupIssueChecker"/>
    <issueChecker implementation="org.jetbrains.plugins.gradle.issue.GradleBuildCancelledIssueChecker"/>
    <issueChecker implementation="org.jetbrains.plugins.gradle.issue.GradleOutOfMemoryIssueChecker"/>
  </extensions>

  <extensions defaultExtensionNs="com.intellij">
    <postStartupActivity implementation="org.jetbrains.plugins.gradle.service.project.GradleStartupActivity"/>
    <externalSystemUnlinkedProjectAware implementation="org.jetbrains.plugins.gradle.autolink.GradleUnlinkedProjectAware"/>
    <externalSystemSettingsListener implementation="org.jetbrains.plugins.gradle.startup.GradleProjectSettingsUpdater"/>
    <projectOpenProcessor id="gradle" implementation="org.jetbrains.plugins.gradle.service.project.open.GradleProjectOpenProcessor"/>
    <orderEnumerationHandlerFactory implementation="org.jetbrains.plugins.gradle.execution.GradleOrderEnumeratorHandler$FactoryImpl"/>
    <consoleFilterProvider implementation="org.jetbrains.plugins.gradle.execution.GradleConsoleFilterProvider"/>
    <stacktrace.fold substring="at org.gradle."/>

    <externalSystemOutputDispatcher implementation="org.jetbrains.plugins.gradle.execution.build.output.GradleOutputDispatcherFactory"/>
    <externalSystemOutputParserProvider implementation="org.jetbrains.plugins.gradle.execution.build.output.GradleOutputParserProvider"
                                        id="gradle"/>
    <externalSystemExecutionConsoleManager implementation="org.jetbrains.plugins.gradle.execution.GradleExecutionConsoleManager"
                                           id="gradle"/>

    <executionTargetLanguageRuntimeType implementation="org.jetbrains.plugins.gradle.execution.target.GradleRuntimeType" />

    <externalSystemWorkspaceContributor implementation="org.jetbrains.plugins.gradle.service.project.GradleWorkspaceContributor"/>
    <externalSystemConfigurationHandler implementation="org.jetbrains.plugins.gradle.service.project.GradleTaskTriggersImporter"/>
    <externalSystemConfigurationHandler implementation="org.jetbrains.plugins.gradle.service.project.ActionDelegateConfigImporter"/>
    <externalSystemConfigurationHandler implementation="org.jetbrains.plugins.gradle.service.project.IDEAProjectFilesPostProcessor"/>
    <externalSystem.beforeRunTaskImporter implementation="org.jetbrains.plugins.gradle.service.project.GradleBeforeRunTaskImporter"/>
    <internalFileTemplate name="Gradle Build Script"/>
    <internalFileTemplate name="Gradle Build Script with wrapper"/>
    <projectConfigurable groupId="build.tools" groupWeight="110" id="reference.settingsdialog.project.gradle"
                         instance="org.jetbrains.plugins.gradle.service.settings.GradleConfigurable"
                         key="gradle.name" bundle="messages.GradleBundle">
    </projectConfigurable>
    <editorTabTitleProvider implementation="org.jetbrains.plugins.gradle.util.GradleEditorTabTitleProvider"/>
    <configurationType implementation="org.jetbrains.plugins.gradle.service.execution.GradleExternalTaskConfigurationType"/>

    <externalSystemConfigLocator implementation="org.jetbrains.plugins.gradle.service.settings.GradleConfigLocator"/>
    <externalSystemManager implementation="org.jetbrains.plugins.gradle.GradleManager"/>
    <externalProjectDataService implementation="org.jetbrains.plugins.gradle.service.project.data.GradleSourceSetDataService"/>
    <externalProjectDataService implementation="org.jetbrains.plugins.gradle.service.project.data.CompositeBuildDataService"/>
    <externalProjectDataService implementation="org.jetbrains.plugins.gradle.service.project.data.GradleExtensionsDataService"/>
    <externalProjectDataService implementation="org.jetbrains.plugins.gradle.service.project.data.PerformanceTraceDataService"/>
    <externalProjectDataService implementation="org.jetbrains.plugins.gradle.service.project.data.GradleExcludeBuildFilesDataService"/>
    <externalProjectStructureCustomizer implementation="org.jetbrains.plugins.gradle.service.project.GradleProjectStructureCustomizer"/>
    <externalIconProvider key="GRADLE" implementationClass="org.jetbrains.plugins.gradle.ui.GradleIconProvider"/>
    <externalExecutionAware id="gradleOnWsl" order="before gradle" key="GRADLE" implementationClass="org.jetbrains.plugins.gradle.service.execution.wsl.GradleOnWslExecutionAware"/>
    <externalExecutionAware id="gradle" key="GRADLE" implementationClass="org.jetbrains.plugins.gradle.service.execution.LocalGradleExecutionAware"/>
    <externalSystemNotificationExtension implementation="org.jetbrains.plugins.gradle.service.notification.GradleNotificationExtension" order="last"/>

    <applicationService serviceImplementation="org.jetbrains.plugins.gradle.service.GradleInstallationManager"/>
    <applicationService serviceInterface="org.jetbrains.plugins.gradle.service.notification.ExternalAnnotationsProgressNotificationManager"
      serviceImplementation="org.jetbrains.plugins.gradle.service.notification.ExternalAnnotationsProgressNotificationManagerImpl"/>

    <applicationService serviceImplementation="org.jetbrains.plugins.gradle.settings.GradleSystemSettings"/>
    <projectService serviceImplementation="org.jetbrains.plugins.gradle.settings.GradleSettingsMigration$LegacyDefaultGradleProjectSettings"/>
    <projectService serviceImplementation="org.jetbrains.plugins.gradle.settings.GradleSettings"/>
    <projectService serviceImplementation="org.jetbrains.plugins.gradle.settings.GradleSettingsMigration"/>
    <projectService serviceImplementation="org.jetbrains.plugins.gradle.settings.GradleLocalSettings"/>
    <projectService serviceImplementation="org.jetbrains.plugins.gradle.service.task.ExecuteGradleTaskHistoryService"/>
    <projectService serviceImplementation="org.jetbrains.plugins.gradle.settings.GradleExtensionsSettings"/>
    <projectService serviceImplementation="org.jetbrains.plugins.gradle.settings.GradleImportHintService"
                    configurationSchemaKey="importHint.gradle" />
    <projectService serviceInterface="org.jetbrains.plugins.gradle.service.project.GradleTasksIndices"
                    serviceImplementation="org.jetbrains.plugins.gradle.service.project.GradleTasksIndicesImpl"/>
    <createDirectoryCompletionContributor implementation="org.jetbrains.plugins.gradle.GradleDirectoryCompletionContributor"/>
    <externalSystemContentRootContributor implementation="org.jetbrains.plugins.gradle.GradleContentRootContributor"/>

    <stepsBeforeRunProvider implementation="org.jetbrains.plugins.gradle.execution.GradleBeforeRunTaskProvider" />
    <runConfigurationProducer implementation="org.jetbrains.plugins.gradle.service.execution.GradleRuntimeConfigurationProducer"/>

    <!--Gradle tool window -->
    <toolWindow id="Gradle" anchor="right" icon="GradleIcons.ToolWindowGradle"
                factoryClass="org.jetbrains.plugins.gradle.ui.GradleToolWindowFactory"/>
    <toolWindowExtractorMode id="Gradle" mode="mirror"/>
    <externalSystemViewContributor id="gradle"
                                   implementation="org.jetbrains.plugins.gradle.ui.GradleViewContributor"/>

    <copyPastePreProcessor implementation="org.jetbrains.plugins.gradle.action.PasteMvnDependencyPreProcessor"/>

    <runAnything.executionProvider implementation="org.jetbrains.plugins.gradle.execution.GradleRunAnythingProvider" order="first"/>

    <statistics.projectUsagesCollector implementation="org.jetbrains.plugins.gradle.statistics.GradleSettingsCollector"/>
    <statistics.counterUsagesCollector groupId="build.gradle.actions" version="1"/>

    <externalSystem.runConfigurationEx implementation="org.jetbrains.plugins.gradle.service.execution.GradleRunConfigurationExtension"/>
    <externalSystem.runConfigurationImporter
        implementation="org.jetbrains.plugins.gradle.service.execution.GradleRunConfigurationImporter"/>

    <externalSystemDependencyAnalyzer implementation="org.jetbrains.plugins.gradle.dependency.analyzer.GradleDependencyAnalyzerExtension"/>

    <search.optionContributor implementation="org.jetbrains.plugins.gradle.config.GradleSearchableOptionContributor"/>

    <registryKey key="gradle.settings.showDeprecatedSettings" defaultValue="false"
                 description="Enables some deprecated setting in the Gradle settings dialog for troubleshooting"/>
    <registryKey key="gradle.tooling.custom.serializer" defaultValue="true"
                 description="Enable custom serialization of custom tooling objects"/>
    <registryKey key="gradle.tooling.use.external.process" defaultValue="false"
                 description="Enable running gradle tooling api out of IDE process"/>
    <registryKey key="gradle.tooling.models.parallel.fetch" defaultValue="false"
                 description="Enable parallel fetching of the Gradle TAPI models"/>
    <registryKey key="gradle.testLauncherAPI.enabled" defaultValue="false"
                 description="Allow to use Test Launcher API to run tests when applicable"/>
    <registryKey key="gradle.tooling.adjust.user.dir" defaultValue="true"
                 description="Change IDE user.dir system property during the Gradle tooling API call to have expected Gradle daemon CWD."/>
    <registryKey key="gradle.improved.hotswap.detection" defaultValue="false"
                 description="Enable improved hotswap detection when build is delegated to Gradle"/>
    <registryKey key="gradle.exclude.build.files.when.in.source.set" defaultValue="false"
                 description="If build.gradle[.kts] and settings.gradle[.kts] files should be excluded from content root, if they are in source set"/>
    <registryKey key="gradle.report.recently.saved.paths" defaultValue="true"
                 description="Send information on recently saved files to Gradle Daemon right before executing a task"/>
    <commandLineInspectionProjectConfigurator implementation="org.jetbrains.plugins.gradle.GradleCommandLineProjectConfigurator"/>
    <notificationGroup id="Gradle Notification Group" displayType="STICKY_BALLOON" bundle="messages.GradleBundle" key="notification.group.gradle"/>
    <statistics.notificationIdsHolder implementation="org.jetbrains.plugins.gradle.service.project.GradleNotificationIdsHolder"/>
  </extensions>

  <actions>
    <group id="Gradle.GenerateGroup">
      <add-to-group group-id="GenerateGroup" anchor="first"/>
    </group>

    <action id="Gradle.ExecuteTask" class="org.jetbrains.plugins.gradle.action.GradleExecuteTaskAction"
            icon="GradleIcons.Gradle">
    </action>
    <action id="Gradle.ToggleOfflineAction" class="org.jetbrains.plugins.gradle.action.ToggleOfflineAction"
            icon="AllIcons.Actions.OfflineMode"/>
    <action id="Gradle.OpenProjectCompositeConfiguration" class="org.jetbrains.plugins.gradle.action.GradleOpenProjectCompositeConfigurationAction"/>

    <action id="Gradle.RefreshDependencies" class="org.jetbrains.plugins.gradle.action.GradleRefreshProjectDependenciesAction"/>

    <action id="Gradle.ViewDependencyAnalyzer" class="org.jetbrains.plugins.gradle.dependency.analyzer.ViewDependencyAnalyzerAction"/>
    <action id="Gradle.ToolbarDependencyAnalyzer" class="org.jetbrains.plugins.gradle.dependency.analyzer.ToolbarDependencyAnalyzerAction"/>
    <action id="Gradle.ProjectViewDependencyAnalyzer" class="org.jetbrains.plugins.gradle.dependency.analyzer.ProjectViewDependencyAnalyzerAction">
      <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="UML.Group"/>
    </action>
    <action id="Gradle.DependencyAnalyzer.OpenConfig" class="org.jetbrains.plugins.gradle.dependency.analyzer.GradleDependencyAnalyzerOpenConfigAction">
      <add-to-group group-id="ExternalSystem.DependencyAnalyzer.DependencyListGroup"/>
      <add-to-group group-id="ExternalSystem.DependencyAnalyzer.DependencyTreeGroup"/>
      <add-to-group group-id="ExternalSystem.DependencyAnalyzer.UsagesTreeGroup"/>
    </action>
    <action id="Gradle.DependencyAnalyzer.GoTo" class="org.jetbrains.plugins.gradle.dependency.analyzer.GradleDependencyAnalyzerGoToAction">
      <add-to-group group-id="ExternalSystem.DependencyAnalyzer.DependencyListGroup"/>
      <add-to-group group-id="ExternalSystem.DependencyAnalyzer.DependencyTreeGroup"/>
      <add-to-group group-id="ExternalSystem.DependencyAnalyzer.UsagesTreeGroup"/>
    </action>

    <group id="Gradle.View.ActionsToolbar.LeftPanel">
      <separator/>
      <reference id="Gradle.ExecuteTask"/>
      <add-to-group group-id="ExternalSystemView.ActionsToolbar.LeftPanel"/>
    </group>

    <group id="Gradle.View.ActionsToolbar.RightPanel">
      <reference id="Gradle.ToggleOfflineAction"/>
      <add-to-group group-id="ExternalSystemView.ActionsToolbar.RightPanel"/>
    </group>

    <group id="Gradle.View.ActionsToolbar.CenterPanel">
      <separator/>
      <reference id="Gradle.OpenProjectCompositeConfiguration"/>
      <reference id="Gradle.ToolbarDependencyAnalyzer"/>
      <separator/>
      <add-to-group group-id="ExternalSystemView.ActionsToolbar.CenterPanel" anchor="last"/>
    </group>

    <group id="Gradle.View.ProjectMenu">
      <separator/>
      <reference id="Gradle.OpenProjectCompositeConfiguration"/>
      <reference id="Gradle.RefreshDependencies"/>
      <reference id="Gradle.ViewDependencyAnalyzer"/>
      <separator/>
      <add-to-group group-id="ExternalSystemView.ProjectMenu" anchor="last"/>
    </group>

    <group id="Gradle.View.ModuleMenu">
      <separator/>
      <reference id="Gradle.ViewDependencyAnalyzer"/>
      <separator/>
      <add-to-group group-id="ExternalSystemView.ModuleMenu" anchor="last"/>
    </group>

    <group id="Gradle.View.DependencyMenu">
      <separator/>
      <reference id="Gradle.ViewDependencyAnalyzer"/>
      <separator/>
      <add-to-group group-id="ExternalSystemView.DependencyMenu" anchor="last"/>
    </group>

    <action id="Gradle.ShowDaemons" class="org.jetbrains.plugins.gradle.internal.daemon.ShowGradleDaemonsAction"/>

    <action id="Gradle.ImportExternalProject" class="org.jetbrains.plugins.gradle.action.ImportProjectFromScriptAction" icon="GradleIcons.Gradle">
      <add-to-group group-id="ProjectViewPopupMenuSettingsGroup" anchor="last"/>
      <add-to-group group-id="EditorPopupMenu" anchor="last"/>
    </action>
  </actions>
  <projectListeners>
    <listener class="org.jetbrains.plugins.gradle.service.GradleFileModificationListener"
              topic="com.intellij.openapi.fileEditor.FileDocumentManagerListener"/>
  </projectListeners>
</idea-plugin>