spring.lock
所有者: Spring
Gradle 的内联依赖锁定
https://github.com/spring-gradle-plugins/dependency-lock
源代码: https://github.com/spring-gradle-plugins/dependency-lock.git
使用 plugins DSL
plugins {
id("spring.lock") version "0.2.0"
}
使用 旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("io.spring.gradle:dependency-lock:0.2.0")
}
}
apply(plugin = "spring.lock")
使用 plugins DSL
plugins {
id "spring.lock" version "0.2.0"
}
使用 旧插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "io.spring.gradle:dependency-lock:0.2.0"
}
}
apply plugin: "spring.lock"