Formatting
Annotations in the same line are easier to read
@@ -26,34 +26,20 @@ public class UpdateReleaseNotesTask extends DefaultTask {
private File releaseNotesFile;
private boolean previewMode;
- @Input
- @Optional
- private String previousVersion;
- @Input
- private String gitHubUrl;
- @Input
- private String gitHubRepository;
- @Input
- private Map<String, String> gitHubLabelMapping = new LinkedHashMap<String, String>();
- @Input
- private String publicationRepository;
- @InputFile
- private File releaseNotesData;
- @Input
- private Collection<String> developers = new LinkedList<String>();
- @Input
- private Collection<String> contributors = new LinkedList<String>();
- @InputFile
- private File contributorsDataFile;
-
- @Input
- private boolean emphasizeVersion;
- @Input
- private String version;
- @Input
- private String tagPrefix;
- @Input
- private String header = "Release notes were automatically generated by [Shipkit](http://shipkit.org/)";
+ @Input @Optional private String previousVersion;
+ @Input private String gitHubUrl;
+ @Input private String gitHubRepository;
+ @Input private Map<String, String> gitHubLabelMapping = new LinkedHashMap<String, String>();
+ @Input private String publicationRepository;
+ @InputFile private File releaseNotesData;
+ @Input private Collection<String> developers = new LinkedList<String>();
+ @Input private Collection<String> contributors = new LinkedList<String>();
+ @InputFile private File contributorsDataFile;
+
+ @Input private boolean emphasizeVersion;
+ @Input private String version;
+ @Input private String tagPrefix;
+ @Input private String header = "Release notes were automatically generated by [Shipkit](http://shipkit.org/)";
/**
* Generates incremental release notes and appends it to the top of release notes file.
