• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

nebula-plugins/gradle-resolution-rules-plugin: Gradle plugin for providing reusa ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

nebula-plugins/gradle-resolution-rules-plugin

开源软件地址(OpenSource Url):

https://github.com/nebula-plugins/gradle-resolution-rules-plugin

开源编程语言(OpenSource Language):

Groovy 93.1%

开源软件介绍(OpenSource Introduction):

Gradle Resolution Rules Plugin

Support Status Gradle Plugin Portal Maven Central Build Apache 2.0

Gradle resolution strategies and module metadata provide an effective way to solve the most common dependency issues, however sharing these rules between projects is cumbersome, and requires custom plugins or apply from calls. This plugin provides general purpose rule types, allowing rules to be published, versioned, shared between projects, and optionally dependency locked.

These rule types solve the most common cause of dependency issues in projects, including:

  • Duplicate classes caused by changes to group or artifact ids, without renaming packages
  • Duplicate classes caused by bundle dependencies, which do not conflict resolve against the normal dependencies for that library
  • Lack of version alignment between libraries, where version alignment is needed for compatibility
  • Ensuring a minimum version of a library

Quick Start

Refer to the Gradle Plugin Portal for instructions on how to apply the plugin.

Open Source Rules

We produce a rules for dependencies found in Maven Central and other public repositories, to use those rules in your project add the following to your root project:

allprojects {
    apply plugin: 'nebula.resolution-rules'
}

dependencies {
    resolutionRules 'com.netflix.nebula:gradle-resolution-rules:latest.release'
}

See the gradle-resolution-rules project for details of the rules, and instructions on how to enable optional rule sets.

Documentation

The project wiki contains the full documentation for the plugin.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap