Gradle:使用“Configuration”及其依赖集找出 Maven 依赖范围
Gradle: figure out a Maven dependency scope by using `Configuration` and its dependency set
所以我想要 Groovy Configuration and its Dependencies figure out the Maven dependency scope, of which there are six.
对于某些依赖项来说,它是微不足道的,因为 implementation
可以巧妙地转换为 Mavens compile
。
如何处理 errorpone
之类的事情?此配置有其自身的依赖项,但它们的 Maven 作用域是什么?有没有办法以编程方式告诉?我想避免拥有巨大的 Map<Configuration, String>
配置 -> 它的 Maven 范围。
提前致谢。
Gradle 具有比 Maven 的硬编码范围更丰富的模型。仅当将库发布到 Maven 存储库时,与 Maven 范围的关系才重要,对元数据使用 pom.xml
。
我推荐阅读 documentation around configurations or watching the webinar on the topic of dependency management fundamentals(注意:我是 co-presenter 参加本次网络研讨会)
所以我想要 Groovy Configuration and its Dependencies figure out the Maven dependency scope, of which there are six.
对于某些依赖项来说,它是微不足道的,因为 implementation
可以巧妙地转换为 Mavens compile
。
如何处理 errorpone
之类的事情?此配置有其自身的依赖项,但它们的 Maven 作用域是什么?有没有办法以编程方式告诉?我想避免拥有巨大的 Map<Configuration, String>
配置 -> 它的 Maven 范围。
提前致谢。
Gradle 具有比 Maven 的硬编码范围更丰富的模型。仅当将库发布到 Maven 存储库时,与 Maven 范围的关系才重要,对元数据使用 pom.xml
。
我推荐阅读 documentation around configurations or watching the webinar on the topic of dependency management fundamentals(注意:我是 co-presenter 参加本次网络研讨会)