com.palantir.versions-props
将版本约束注入到项目中每一个配置中
https://github.com/palantir/gradle-consistent-versions
资源: https://github.com/palantir/gradle-consistent-versions
使用 plugins DSL
plugins {
id("com.palantir.versions-props") 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.versions-props")
使用 plugins DSL
plugins {
id "com.palantir.versions-props" 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.versions-props"