tools_gradle_intellij_plugin: link to XDG Base Directory in terms of XDG_CACHE_HOME used in runPluginVerifier.downloadDir

This commit is contained in:
Jakub Chrzanowski 2022-09-29 12:42:38 +02:00
parent 0dbbbe1ddb
commit 487f19a7e9
No known key found for this signature in database
GPG Key ID: C39095BFD769862E
2 changed files with 2 additions and 1 deletions

View File

@ -1335,6 +1335,7 @@ Default value
{id="tasks-runpluginverifier-downloaddir"} {id="tasks-runpluginverifier-downloaddir"}
The path to directory where IDEs used for the verification will be downloaded. The path to directory where IDEs used for the verification will be downloaded.
By default, it relies on the `plugin.verifier.home.dir` system property and falls back to `XDG_CACHE_HOME` environment variable see [XDG Base Directory](https://wiki.archlinux.org/title/XDG_Base_Directory) for more details.
{style="narrow"} {style="narrow"}
Type Type

View File

@ -173,7 +173,7 @@ See the [](bundling_plugin_openapi_sources.md) section for details.
### The Plugin Verifier download directory is set to [...], but downloaded IDEs were also found in [...] ### The Plugin Verifier download directory is set to [...], but downloaded IDEs were also found in [...]
With the `1.10.0` release, the [`runPluginVerifier`](tools_gradle_intellij_plugin.md#tasks-runpluginverifier) task uses the `XDG_CACHE_HOME` environment variable to resolve the default directory for downloaded IDEs instead of the user's home directory. With the `1.10.0` release, the [`runPluginVerifier`](tools_gradle_intellij_plugin.md#tasks-runpluginverifier) task uses the `XDG_CACHE_HOME` environment variable (see [XDG Base Directory](https://wiki.archlinux.org/title/XDG_Base_Directory) for more details) to resolve the default directory for downloaded IDEs instead of the user's home directory.
We recommend moving your existing IDEs stored i.e., in <path>~/.pluginVerifier/ides/</path> directory into <path>$XDG_CACHE_HOME/pluginVerifier/ides</path> to avoid downloading them once again. We recommend moving your existing IDEs stored i.e., in <path>~/.pluginVerifier/ides/</path> directory into <path>$XDG_CACHE_HOME/pluginVerifier/ides</path> to avoid downloading them once again.
In case you want to keep the downloaded archives in the previous location, specify the given path explicitly to the [`runPluginVerifier.downloadDir`](tools_gradle_intellij_plugin.md#tasks-runpluginverifier-downloaddir) property: In case you want to keep the downloaded archives in the previous location, specify the given path explicitly to the [`runPluginVerifier.downloadDir`](tools_gradle_intellij_plugin.md#tasks-runpluginverifier-downloaddir) property: