Skip to content

Commit a00c85b

Browse files
committed
chore(spdx): Reorder config options to make output formats go last
Somewhat try to use "chronological" order to options, i.e. the order in which they are used by the implementation in a report workflow. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
1 parent bfcc3b5 commit a00c85b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

plugins/reporters/spdx/src/main/kotlin/SpdxDocumentReporter.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,18 @@ data class SpdxDocumentReporterConfig(
8686
@OrtPluginOption(aliases = ["document.name"])
8787
val documentName: String?,
8888

89-
/**
90-
* The list of file formats to generate.
91-
*/
92-
@OrtPluginOption(defaultValue = "YAML", aliases = ["output.file.formats"])
93-
val outputFileFormats: List<FileFormat>,
94-
9589
/**
9690
* Toggle whether the output document should contain information on file granularity about files containing
9791
* findings.
9892
*/
9993
@OrtPluginOption(defaultValue = "true", aliases = ["file.information.enabled"])
100-
val fileInformationEnabled: Boolean
94+
val fileInformationEnabled: Boolean,
95+
96+
/**
97+
* The list of file formats to generate.
98+
*/
99+
@OrtPluginOption(defaultValue = "YAML", aliases = ["output.file.formats"])
100+
val outputFileFormats: List<FileFormat>
101101
)
102102

103103
/**

0 commit comments

Comments
 (0)