gradle: add warning about repackaging libs

This commit is contained in:
Yann Cébron 2024-04-16 13:31:45 +02:00
parent b81788bb51
commit 01600a3f54
2 changed files with 7 additions and 0 deletions

View File

@ -599,6 +599,10 @@ Assembles a plugin and prepares ZIP archive for [deployment](publishing_plugin.m
`buildPlugin` task extends the [`Zip`](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Zip.html) Gradle task. `buildPlugin` task extends the [`Zip`](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Zip.html) Gradle task.
> Do not repackage libraries into the main plugin archive, see [](plugin_content.md#plugin-with-dependencies).
>
{style="warning"}
#### `archiveBaseName` #### `archiveBaseName`
{#tasks-buildplugin-archivebasename} {#tasks-buildplugin-archivebasename}

View File

@ -163,6 +163,9 @@ The produced archive is stored in the <path>[buildDirectory]/distributions/[`arc
The [`archiveFile`](#buildPlugin-archiveFile) name and location can be controlled with properties provided with the [`Zip`](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Zip.html) base task. The [`archiveFile`](#buildPlugin-archiveFile) name and location can be controlled with properties provided with the [`Zip`](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Zip.html) base task.
By default, the `archiveBaseName` is set to the plugin name specified in the <path>plugin.xml</path> file, after it gets patched with the [`patchPluginXml`](#patchPluginXml) task. By default, the `archiveBaseName` is set to the plugin name specified in the <path>plugin.xml</path> file, after it gets patched with the [`patchPluginXml`](#patchPluginXml) task.
> Do not repackage libraries into the main plugin archive, see [](plugin_content.md#plugin-with-dependencies).
>
{style="warning"}
### `archiveFile` ### `archiveFile`
{#buildPlugin-archiveFile} {#buildPlugin-archiveFile}