mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
gradle: add warning about repackaging libs
This commit is contained in:
parent
b81788bb51
commit
01600a3f54
@ -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}
|
||||||
|
|
||||||
|
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user