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

-Prelease.forceVersion is not working locally #693

Open
devmaheshrb458 opened this issue Dec 27, 2023 · 3 comments
Open

-Prelease.forceVersion is not working locally #693

devmaheshrb458 opened this issue Dec 27, 2023 · 3 comments

Comments

@devmaheshrb458
Copy link

devmaheshrb458 commented Dec 27, 2023

configuring axion in gradle project. I want to force a default version for all the SNAPSHOT jar. but when I am preapring the build locally it is failing with below error
"Task '.version=0.0.1' not found in root project 'apps' and in subprojects "

gradle cmd : .\gradlew :apps:struct:publish -x test -Prelease.forceversion=0.0.1

is there any configuration need to be done?

@bgalek
Copy link
Member

bgalek commented Dec 27, 2023

Hi, message you provided suggests wrong Gradle command syntax, could you share what command are you trying to run?

@devmaheshrb458
Copy link
Author

devmaheshrb458 commented Dec 27, 2023

I am skipping test for now and running on windows. even below also fail
gradle :apps:publish -x test -Prelease.forceVersion=0.0.1

If anything is wrong then please share any example for understanding.

@bgalek
Copy link
Member

bgalek commented Dec 27, 2023

Please share your build gradle file

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

No branches or pull requests

2 participants