Maven-publish scopes runtime dependencies as compile

Hi there,

I’m using gradle 5.2.1 and have a build.gradle with runtime dependencies. When published, I was surprised to see them scoped as compile in the generated pom.xml. Is this behaviour expected? Is there a way to publish runtime dependencies with the runtime maven scope?

For now I have just removed the runtime dependencies altogether, as it is a library anyway.