Skip to content

Commit

Permalink
Update changelog and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mcnamara committed Mar 23, 2024
1 parent 0869099 commit f4e1cc1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.MD
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Change log

## 1.3.4
### Added
- Added downloadUrlPrefix to specify the plugin file download location prefix.
### Changed
- Updated lock cleanup error message to indicate correct file
- Updated error logging for repository operations
- Deprecated absoluteDownloadUrls in favor of downloadUrlPrefix
## 1.3.3
### Fixed
- Fixed `UpdatePluginsXml` incorrectly specifying @Input for an output file.
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/dev.bmac.intellij.plugin-uploader?color=green&label=Gradle%20Plugin%20Portal&logo=gradle)][gradle-plugin-page]

# IntelliJ plugin uploader

A gradle plugin to automate uploading an IntelliJ plugin and updating updatePlugins.xml hosted on a private repository,
Expand All @@ -13,7 +15,7 @@ buildscript {
}
plugins {
id "dev.bmac.intellij.plugin-uploader" version "1.3.3"
id "dev.bmac.intellij.plugin-uploader" version "1.3.4"
}
generateBlockMap {
Expand Down Expand Up @@ -64,7 +66,8 @@ uploadPlugin {
| <kbd>updateFile</kbd> - Overrides the default updatePlugins.xml file name. <br/><br/><b>Note:</b> See [Publishing a Plugin to a Custom Plugin Repository](https://jetbrains.org/intellij/sdk/docs/basics/getting_started/update_plugins_format.html#describing-your-plugins-in-updatepluginsxml-file) for more information about updatePlugins.xml | **Required:** false <br/> **Default:** <kbd>updatePlugins.xml</kbd> <br/> **Acceptable Values:** Any String |
| <kbd>updatePluginXml</kbd> - Gates whether updatePlugins.xml is updated. | **Required:** false <br/> **Default:** <kbd>true</kbd> <br/> **Acceptable Values:** `true` / `false` |
| <kbd>repoType</kbd> - Sets the type of repository operations to use. | **Required:** false <br/> **Default:** <kbd>REST_POST</kbd> <br/> **Acceptable Values:** <ul> <li>REST_POST</li><li>REST_PUT</li><li>S3</li></ul> |
| <kbd>absoluteDownloadUrls</kbd> - Use absolute url to the plugin download in update plugins xml over relative paths. | **Required:** false <br/> **Default:** <kbd>false</kbd> <br/> **Acceptable Values:** `true` / `false` |
| <kbd>absoluteDownloadUrls</kbd> - **deprecated**: see downloadUrlPrefix <br/> Use absolute url to the plugin download in update plugins xml over relative paths. | **Required:** false <br/> **Default:** <kbd>false</kbd> <br/> **Acceptable Values:** `true` / `false` |
| <kbd>downloadUrlPrefix</kbd> - Allows specifying the download url prefix to use over the default relative path. | **Required:** false <br/> **Default:** *none* <br/> **Acceptable Values:** A URL prefix, for example: <ul> <li> `https://repo.example.com/intellij/plugins`</li> <li> `/intellij/plugins` </li> <ul> |


## Supported repo types
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/dev/bmac/gradle/intellij/UploadPluginTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ public class UploadPluginTask extends ConventionTask {
@Input
@Optional
public final Property<String> downloadUrlPrefix;
//Use absolute path for the download url in update plugins xml ($url/$pluginName/${file.getName})
/**
* Use absolute path for the download url in update plugins xml ($url/$pluginName/${file.getName})
* @deprecated switch to downloadUrlPrefix=${url}
*/
@Input
@Optional
@Deprecated()
public final Property<Boolean> absoluteDownloadUrls;
//The plugin name
@Input
Expand Down

0 comments on commit f4e1cc1

Please sign in to comment.