bintray / gradle-bintray-plugin

Apache License 2.0
1.28k stars 197 forks source link

How to specify pom output file name? #103

Open galenlin opened 8 years ago

galenlin commented 8 years ago

I'm working on gradle plugin. Following is my project structure: qq20160114-1 While I execute command gradlew -p buildSrc bintrayUpload, it raise an error:

Unable to upload files: Maven group, artifact or version defined in the pom file do not match the file path 'net/wequick/tools/build/buildSrc/0.1.1/buildSrc-0.1.1.pom'

Where the buildSrc should be gradle-small. How to fix that?

I also set rootProject.name = 'gradle-small' in the settings.gradle

eyalbe4 commented 8 years ago

Hi @galenlin, I think that the error message you're getting is related to the issue discussed here.

galenlin commented 8 years ago

Thank you for response and sorry for the typing error in title. (Hot should always be How)

eyalbe4 commented 8 years ago

@galenlin, please let us know if the fix released as part of version 1.6 and described in https://github.com/bintray/gradle-bintray-plugin/galenlinissues/81 resolves this issue as well.

galenlin commented 8 years ago

@eyalbe4 Thank you sir, it works! The only problem is while I upgrade from 1.4 to 1.6, it seems to download a mess of dependencies.

eyalbe4 commented 8 years ago

Thanks for the feedback @galenlin. I'm glad it resolved the issue. What do you mean by "download a mess of dependencies"? There are a few new dependencies required by the plugin.