How Map gradle 'compileOnly' to 'provided' in generated pom (generatePom...)

Viewed 530

I am using gradle 4.3.1 I have dependencies in scope compileOnly when I publish to maven I see that these dependencies are not in the pom file.

I would like to map them to provided scope of maven.

How can I do that?

1 Answers
Related