Skip to content

Commit

Permalink
Fix UpdatePluginsXml by changing updateFile to outputFile (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mcnamara authored Aug 11, 2023
1 parent 63fc963 commit f47ba03
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change log

## 1.3.3
### Fixed
- Fixed `UpdatePluginsXml` incorrectly specifying @Input for an output file.
## 1.3.2
### Added
- Added `UpdatePluginsXml` task to allow updating file-based updatePlugins.xml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
}
plugins {
id "dev.bmac.intellij.plugin-uploader" version "1.3.2"
id "dev.bmac.intellij.plugin-uploader" version "1.3.3"
}
generateBlockMap {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group 'dev.bmac.intellij.plugins'
version '1.3.2'
version '1.3.3'

repositories {
mavenCentral()
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/dev/bmac/gradle/intellij/UpdateXmlTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.gradle.api.provider.Property;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.Optional;
import org.gradle.api.tasks.OutputFile;
import org.gradle.api.tasks.TaskAction;

import javax.inject.Inject;
Expand All @@ -16,7 +17,7 @@
public class UpdateXmlTask extends ConventionTask {

//Name of the plugin update file.
@Input
@OutputFile
public final RegularFileProperty updateFile;
//The relative or full url where the plugin-version can be downloaded
@Input
Expand Down

0 comments on commit f47ba03

Please sign in to comment.