Get the additional parameters on artifacts to be published

In my plugin, im writing some debug stuff to figure out why its uploading artifacts to artifactory twice, once with a version number and group and once without. When i dump this to a log

Configuration publishedConfig = project.configurations.findByName(ARTIFACTORY_CONFIGURATION_PUBLISHED)
    publishedConfig.artifacts.each {
      published << it
    }

i see the artifacts listed twice. but he filenames always have the version. how do i retrieve the additional GAVC information for the artifact?

Even better, how do i filter out the artifacts that have no version number?

never mind. Turns out gradle will publish the artifacts twice WHEN YOU TELL IT TO PUBLISH IT TWICE!! deleted the second config and it started acting nice again.