com.palantir.consistent-versions
为您的依赖关系提供紧凑、易于约束的锁定文件
https://github.com/palantir/gradle-consistent-versions
源: https://github.com/palantir/gradle-consistent-versions
使用 插件 DSL
plugins {
id("com.palantir.consistent-versions") version "2.23.0"
}
使用 旧版插件应用程序
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.palantir.gradle.consistentversions:gradle-consistent-versions:2.23.0")
}
}
apply(plugin = "com.palantir.consistent-versions")
使用 插件 DSL
plugins {
id "com.palantir.consistent-versions" version "2.23.0"
}
使用 旧版插件应用程序
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.palantir.gradle.consistentversions:gradle-consistent-versions:2.23.0"
}
}
apply plugin: "com.palantir.consistent-versions"