Skip to content

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 May 4, 2025

@pb82 сould you pay attention to 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