mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
tools_intellij_platform_gradle_plugin_tasks.md: fix link
This commit is contained in:
parent
7ae4adf307
commit
7bec52a848
@ -4,7 +4,6 @@
|
||||
|
||||
<link-summary>FAQ for using IntelliJ Platform Gradle Plugin</link-summary>
|
||||
|
||||
|
||||
### How to modify system properties of the `runIde` task?
|
||||
|
||||
Using the [very same task documentation](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.JavaExec.html), configure [`runIde`](tools_intellij_platform_gradle_plugin_tasks.md#runIde) task:
|
||||
@ -19,13 +18,11 @@ tasks {
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### Task `runIdeForUiTests` not found
|
||||
|
||||
The [`runIdeForUiTests`](tools_intellij_platform_gradle_plugin_tasks.md#runIdeForUiTests) is no longer registered by default.
|
||||
Follow the task documentation for more details.
|
||||
|
||||
|
||||
### Missing `opentest4j` dependency in Test Framework
|
||||
|
||||
Due to the [IJPL-157292](https://youtrack.jetbrains.com/issue/IJPL-157292/lib-testFramework.jar-is-missing-library-opentest4j) issue, the `opentest4j` dependency is not resolved when using `TestFrameworkType.Platform` or `TestFrameworkType.JUnit5`.
|
||||
@ -88,21 +85,19 @@ tasks {
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### How to disable building the searchable options?
|
||||
|
||||
Building the searchable options can be disabled using [`intellijPlatform.buildSearchableOptions`](tools_intellij_platform_gradle_plugin_extension.md#intellijPlatform-instrumentCode):
|
||||
|
||||
```kotlin
|
||||
intellijPlatform {
|
||||
buildSearchableOptions = false
|
||||
buildSearchableOptions = false
|
||||
}
|
||||
```
|
||||
|
||||
As a result of disabling building searchable options, the [Settings](settings.md) that your plugin provides won't be searchable in the <ui-path>Settings</ui-path> dialog.
|
||||
Disabling of the task is suggested for plugins that are not intended to provide custom settings.
|
||||
|
||||
|
||||
### Gradle fails with `The request for this plugin could not be satisfied`
|
||||
|
||||
Gradle may fail with the following exception if the IntelliJ Platform Gradle Plugin is applied to the project multiple times with version specified more than once:
|
||||
@ -111,26 +106,25 @@ Gradle may fail with the following exception if the IntelliJ Platform Gradle Plu
|
||||
|
||||
If you apply the plugin in the <path>settings.gradle.kts</path> file, the version needs to be omitted when applying it in other <path>build.gradle.kts</path> files.
|
||||
|
||||
|
||||
### How to show the log file of a sandbox instance?
|
||||
|
||||
The most convenient way to see the logs of a running IDE is to add a tab to the <control>Run</control> tool window displaying the contents of <path>idea.log</path> file.
|
||||
In the Gradle `runIde` run configuration, add the log file path according to [sandbox location](ide_development_instance.md#the-development-instance-sandbox-directory) as described in [View logs](https://www.jetbrains.com/help/idea/setting-log-options.html).
|
||||
|
||||
|
||||
### Task `setupDependencies` not found in root project 'projectName'
|
||||
|
||||
This exception is thrown when there's no `setupDependencies` task present in the project scope.
|
||||
|
||||
See [Migrating from Gradle IntelliJ Plugin](tools_intellij_platform_gradle_plugin_migration.md#setupdependencies) for more details.
|
||||
|
||||
|
||||
### How to expose my plugin API sources to dependent plugins?
|
||||
|
||||
See the [](bundling_plugin_openapi_sources.md) section for details.
|
||||
|
||||
### How to mute specific problems in `pluginVerification`?
|
||||
|
||||
{id="mutePluginVerifierProblems"}
|
||||
|
||||
To mute specific problems (for example, use of specific forbidden words in the plugin name), use the [`freeArgs`](tools_intellij_platform_gradle_plugin_extension.md#intellijPlatform-pluginVerification-freeArgs) parameter to pass a comma-separated list of problem IDs to be muted.
|
||||
|
||||
See the list of [available options](https://github.com/JetBrains/intellij-plugin-verifier/?tab=readme-ov-file#specific-options).
|
||||
@ -147,7 +141,6 @@ intellijPlatform {
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### JaCoCo Reports 0% Coverage
|
||||
|
||||
The Gradle IntelliJ Plugin, when targeting the IntelliJ SDK `2022.1+`, uses the `PathClassLoader` class loader by the following system property:
|
||||
|
@ -2026,7 +2026,7 @@ Default value
|
||||
Represents a list of free arguments that are passed directly to the IntelliJ Plugin Verifier CLI tool.
|
||||
These arguments are used in conjunction with those provided by dedicated options.
|
||||
|
||||
See [](tools_intellij_platform_gradle_plugin_faq.md#how-to-mute-specific-problems-in-pluginVerification) for sample usage.
|
||||
See [](tools_intellij_platform_gradle_plugin_faq.md#mutePluginVerifierProblems) for sample usage.
|
||||
|
||||
{style="narrow"}
|
||||
Type
|
||||
|
Loading…
x
Reference in New Issue
Block a user