co.elastic.elastic-conventions
所有者: Elastic发布工程团队
实现内部Elastic惯例
https://github.com/elastic/gradle-plugins/blob/main/README.md
来源: https://github.com/elastic/gradle-plugins/
使用 plugins DSL
plugins {
id("co.elastic.elastic-conventions") version "1.0.10"
}
使用 旧版插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("co.elastic.gradle:elastic-conventions:1.0.10")
}
}
apply(plugin = "co.elastic.elastic-conventions")
使用 plugins DSL
plugins {
id "co.elastic.elastic-conventions" version "1.0.10"
}
使用 旧版插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "co.elastic.gradle:elastic-conventions:1.0.10"
}
}
apply plugin: "co.elastic.elastic-conventions"