org.splitties.dependencies-dsl
所有者: Louis CAD
更简洁的依赖声明。避免重复声明实现、api等。
https://github.com/Splitties/gradle-dependencies-dsl
来源: https://github.com/Splitties/gradle-dependencies-dsl.git
使用plugins DSL
plugins {
id("org.splitties.dependencies-dsl") version "0.2.0"
}
使用传统插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("org.splitties.gradle:dependencies-dsl:0.2.0")
}
}
apply(plugin = "org.splitties.dependencies-dsl")
使用plugins DSL
plugins {
id "org.splitties.dependencies-dsl" version "0.2.0"
}
使用传统插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "org.splitties.gradle:dependencies-dsl:0.2.0"
}
}
apply plugin: "org.splitties.dependencies-dsl"