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 2 commits 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 <[email protected]>
@alexted
Copy link

alexted commented Nov 7, 2024

@inglor Is this PR still relevant?

@inglor
Copy link
Author

inglor commented Nov 7, 2024

Yes it's still relevant for the reasons explained in the commit message.

@alexted
Copy link

alexted commented Nov 7, 2024

Could you resolve the conflicts?

@inglor
Copy link
Author

inglor commented Nov 7, 2024

Yes until next version - but maintainer needs to response otherwise the next version will also be conflicting.

@alexted
Copy link

alexted commented Jan 24, 2025

@pb82 could you accept this pr?

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.

2 participants