Hi everyone !
Yesterday, I tried to create a gradle catalog (Sharing dependency versions between projects) but … when I wanted to push it to gitlab package registry, I can’t due to file format TOML !
Could not PUT ‘https://gitlab.com/api/v4/projects/<…>/-/packages/maven/<…>.toml’. Received status code 415 from server: Unsupported Media Type
As specified in the documentation :
When publishing such a project, a
libs.versions.tomlfile will automatically be generated (and uploaded), which can then be consumed from other Gradle builds.
So I can’t push this TOML file to package registry but I need to push it.
Do you have some idea or is it an issue ?
Thanks a lot in advance !