Skip to content

Commit

Permalink
docs(RepositoryConfiguration): Improve documentation of two properties
Browse files Browse the repository at this point in the history
Improve the documentation to better explain why both `curations` and
`packageConfigurations` have nested `LicenseFindingCuration`s: Their
scopes are different (project vs. package).

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Oct 31, 2023
1 parent 90f9993 commit 35394a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions model/src/main/kotlin/config/RepositoryConfiguration.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@ data class RepositoryConfiguration(
val resolutions: Resolutions = Resolutions(),

/**
* Defines curations for artifacts contained in this repository.
* Defines curations for packages used as dependencies by projects in this repository, or curations for license
* findings in the source code of a project in this repository.
*/
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = CurationsFilter::class)
val curations: Curations = Curations(),

/**
* Defines configurations for this repository.
* Defines configurations for packages used as dependencies by projects in this repository.
*/
@JsonInclude(value = JsonInclude.Include.NON_EMPTY)
val packageConfigurations: List<PackageConfiguration> = emptyList(),
Expand Down

0 comments on commit 35394a2

Please sign in to comment.