nebula.dependency-lock
拥有者: Nebula Plugins
允许人们使用动态依赖版本,并将它们锁定到特定版本的插件。
https://github.com/nebula-plugins/gradle-dependency-lock-plugin
使用 plugins DSL
plugins {
id("nebula.dependency-lock") version "12.7.1"
}
使用 旧的插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.netflix.nebula:gradle-dependency-lock-plugin:12.7.1")
}
}
apply(plugin = "nebula.dependency-lock")
使用 plugins DSL
plugins {
id "nebula.dependency-lock" version "12.7.1"
}
使用 旧的插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.netflix.nebula:gradle-dependency-lock-plugin:12.7.1"
}
}
apply plugin: "nebula.dependency-lock"