com.palantir.versions-lock
适用于依赖项的紧凑型、约束友好的锁文件
https://github.com/palantir/gradle-consistent-versions
来源:https://github.com/palantir/gradle-consistent-versions
使用 插件 DSL
plugins {
id("com.palantir.versions-lock") 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-lock")
使用 插件 DSL
plugins {
id "com.palantir.versions-lock" 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-lock"