aepfli / gradle-gitlab-repositories

Handling Maven GitLab dependencies made easy. Define multiple tokens and selectively apply them to repositories, remove the need for repeating Credential handling blocks for different environments.
Eclipse Public License 2.0
13 stars 1 forks source link

Unsupported Media Type error on publish #1

Closed Amelus closed 3 years ago

Amelus commented 3 years ago

`> Task :publishCommercePublicationToGitLabRepository FAILED FAILURE: Build failed with an exception.

Good luck fixing :D

aepfli commented 3 years ago

After close investigation i found the error in a missconception within the plugin.

It is not possible to release to a group with the plugin. Therefor upload needs to be defined for a project! which you actually did, but the endpoint was a wrong one.

Pull request will be opened soon, with including tests