jbang
jbang copied to clipboard
${version:RELEASE} not working in alias and javaagent
trafficstars
semes like use of system properties isnot working when used in aliases and agents making it impossible to do:
"cli": {
"script-ref": "org.jacoco:org.jacoco.cli:${jacoco.version:RELEASE}:nodeps",
"description": "Runs jacoco cli, see https://www.jacoco.org/jacoco/trunk/doc/cli.html for documentation."
},
to lst jbang cli run latest and jbang -Djacoco.version=0.8.1 cli run with that specific version.
might not be right it works - -D is set at same "level" thus not clean seperation of concerns.