axion-release-plugin icon indicating copy to clipboard operation
axion-release-plugin copied to clipboard

-Prelease.forceVersion is not working locally

Open devmaheshrb458 opened this issue 1 year ago • 3 comments

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?

devmaheshrb458 avatar Dec 27 '23 10:12 devmaheshrb458

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

bgalek avatar Dec 27 '23 10:12 bgalek

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.

devmaheshrb458 avatar Dec 27 '23 10:12 devmaheshrb458

Please share your build gradle file

bgalek avatar Dec 27 '23 20:12 bgalek