Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Add stereotype property to project/distribution #856

Closed
aalmiray opened this issue Jul 3, 2022 · 1 comment
Closed

[core] Add stereotype property to project/distribution #856

aalmiray opened this issue Jul 3, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aalmiray
Copy link
Member

aalmiray commented Jul 3, 2022

Valid values: [none, cli, desktop, web, mobile]

Packagers may use this property to determine which template should be used.
Distributions inherit the set value from project.
Default value is none.

@aalmiray aalmiray added the enhancement New feature or request label Jul 3, 2022
@aalmiray
Copy link
Member Author

The following should happen:

  • add a Stereotype enum with the following values: NONE, CLI, DESKTOP, WEB, MOBILE.
  • add a stereotype property to Project and Distribution model types (core model & gradle model).
  • ProjectValidator should make sure the property has a value, use NONE as default.
  • DistributionValidator should make sure the property has a value. Inherit the value from project if no value is set.

cc @diakogiannis

@aalmiray aalmiray added this to the v1.2.0 milestone Jul 29, 2022
@aalmiray aalmiray self-assigned this Jul 29, 2022
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Jul 29, 2022
aalmiray added a commit that referenced this issue Jul 30, 2022
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Aug 3, 2022
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant