开发者

How do I publish a Gradle project to maven repository with 'optional' and 'provided' scope?

开发者 https://www.devze.com 2023-01-27 08:44 出处:网络
I see how gradle can deploy to a maven repository automatically generating the POM required to do it.How can this be so开发者_开发百科 for dependencies that I would set to true and/or provided.GRADLE-

I see how gradle can deploy to a maven repository automatically generating the POM required to do it. How can this be so开发者_开发百科 for dependencies that I would set to true and/or provided.


GRADLE-784 has a provided scope workaround.


The Gradle plugin "propdeps-plugin" solves this.


The WAR-Plugin (see http://gradle.org/war_plugin) now offers providedRuntime and providedComplile. But the provided scope does not exist in general.

0

精彩评论

暂无评论...
验证码 换一张
取 消