Closed serpro69 closed 11 months ago
Maybe we could do
version
property existsversion != config.versionPlaceholder
(default 0.0.0
)version != "unspecified"
Semver.isValid(version)
if all checks pass - assume we're setting it from command line via -Pversion
Using
-Pversion
won't work, since it will be overwritten by plugin. Checking ifversion
property exists also doesn't work, because it always exists in gradle, even if the value is unspecified. Nevertheless, there should be a possibility to set the version manually.