bintray / gradle-bintray-plugin

Apache License 2.0
1.28k stars 197 forks source link

Artifact path broken using >= Gradle 4.9 #253

Closed tobiasheine closed 6 years ago

tobiasheine commented 6 years ago

When the consumer project uses Gradle 4.9 or 4.10, the artifact path is resolved wrong.

What we can see in the log:

Uploading to https://api.bintray.com/content/foo/generic/gradle-bintray-plugin-example/1.0-Final/property(class java/lang/String, fixed(class java/lang/String, org/jfrog/example/gradle))/property(class java.lang.String, fixed(class java.lang.String, gradle-bintray-plugin-example))/property(class java.lang.String, fixed(class java.lang.String, 1.0))/property(class java.lang.String, fixed(class java.lang.String, gradle-bintray-plugin-example))-property(class java.lang.String, fixed(class java.lang.String, 1.0)).jar...

How it should look like:

Uploading to https://api.bintray.com/content/foo/generic/gradle-bintray-plugin-example/1.0-Final/org/jfrog/example/gradle/gradle-bintray-plugin-example/1.0/gradle-bintray-plugin-example-1.0.jar...

This can be reproduced using the official publications-example. Just bump the Gradle Version to 4.9 and run bintrayUpload -PbintrayUser=foo -PbintrayApiKey=bar which will prompt the broken path.

mr-archano commented 6 years ago

It seems like the issue is gone in recent versions of the plugin (1.8.1+). This issue can be closed.

eyalbe4 commented 6 years ago

Thanks for the update @mr-archano!

Steppschuh commented 6 years ago

I'm facing the same issue with gradle version 4.10.1 and build-info-extractor-gradle version 4.8.1.