saksmt / gradle-publish-issue-3003

Gradle issue gradle/gradle#3003

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gradle issue with publishing through uploadArchives

Issue in gradle

Description

uploadArchives task tries to publish generated POM (maybe not only POM) twice

Steps to reproduce

git clone https://github.com/saksmt/gradle-publish-issue-3003.git gradle-uploadArchives-issue
cd gradle-uploadArchives-issue
./gradlew build publish \
    -Preleases-repo=https://artifactory-or-nexus-repository \
    -Psnapshots-repo=https://artifactory-or-nexus-repository \
    -Partifactory.username=ARTIFACTORY_OR_NEXUS_USERNAME \
    -Partifactory.token=ARTIFACTORY_OR_NEXUS_PASSWORD_OR_TOKEN

About

Gradle issue gradle/gradle#3003