On 01/11/2010, at 10:14 AM, Joern Huxhorn wrote: > 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 fixed this now in the master branch. Could you try this out with a new snapshot of Gradle? -- Adam Murdoch Gradle Developer http://www.gradle.org CTO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz