Slackbot
06/21/2023, 2:35 PMThomas Broyer
06/21/2023, 2:58 PMVampire
06/21/2023, 3:04 PMoutgoingArtifacts task, as - if I got you right - you are not actually interested in the group and project name, but in the produced artifact coordinates. Those can differ, even if in most cases they are the same.Darragh Bailey
06/21/2023, 8:20 PMDarragh Bailey
06/21/2023, 8:22 PMOUTPUT=$(./gradlew outgoingVariants --variant runtimeElements --console plain | grep -A1 "^Capabilities" | tail -n1 | xargs | cut -d' ' -f2) might get me what I want, but I can certainly see that it might be better to add a task for this to just output the capability information of interest and then that can be parsed in a script to split it into the fields <groupId>:<artifactId>:<version> which would be ideal