keycloak-metrics-spi icon indicating copy to clipboard operation
keycloak-metrics-spi copied to clipboard

feat: move version in gradle.properties

Open inglor opened this issue 2 years ago • 5 comments

Motivation

Being able to set the version from the command lineduring build.

What

Moving version in properties means it can be overwritten during the execution of gradle commands

Why

See motivation

How

Moving to gradle.properties are read before it reads the gradle.build file and can be overwritten from cli.

Verification Steps

Build without the -Pversion=3.0.0 and it build the one specified in the gradle.properties Build with the -Pversion=3.0.0 and will build the version specified in cli.

Checklist:

  • [x] Code has been tested locally by PR requester
  • [ ] Changes have been successfully verified by another team member

Progress

  • [x] Finished task

Additional Notes

N/A

inglor avatar Apr 07 '23 12:04 inglor

@pb82 could you pay attention to this enhancement?

alexted avatar Jul 15 '24 08:07 alexted