Hi again. I tried to use DefaultPluginArtifact to add additional files to the set of files that will be uploaded during uploadArchives.
Without giving a classifier this results in org.gradle.api.GradleException: Could not publish configurations [configuration ':pgp-gradle-plugin:archives']. org.gradle.api.InvalidUserDataException: A pom can't have multiple main artifacts. Already assigned artifact: de.huxhorn.gradle#pgp-gradle-plugin;0.0.2!de.huxhorn.gradle.pgp-plugin.jar Artifact trying to assign: de.huxhorn.gradle#pgp-gradle-plugin;0.0.2!de.huxhorn.gradle.pgp-plugin-0.0.2-javadoc.jar.asc I've tried out adding a classifier. That way no exception is thrown anymore but the 6 signature files are now overwriting each other during upload and have the wrong name. The files generated in build/libs are named correctly, though. See http://github.com/huxi/huxi-gradle-plugins/blob/master/pgp-gradle-plugin/src/main/groovy/de/huxhorn/gradle/pgp/PgpPlugin.groovy for the code and further info as a comment. Cheers, Joern. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
