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

feat: move version in gradle.properties #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

inglor
Copy link

@inglor inglor commented Apr 7, 2023

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:

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

Progress

  • Finished task

Additional Notes

N/A

This makes it easier to set the version from the command line when we
build.

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
@alexted
Copy link

alexted commented Jul 15, 2024

@pb82 could you pay attention to this enhancement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants