使用 插件DSL
plugins {
id("oe.espresso.latte") version "0.3.1"
}
使用 legacy 插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("gradle.plugin.oe.espresso:latte:0.3.1")
}
}
apply(plugin = "oe.espresso.latte")
使用 插件DSL
plugins {
id "oe.espresso.latte" version "0.3.1"
}
使用 legacy 插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "gradle.plugin.oe.espresso:latte:0.3.1"
}
}
apply plugin: "oe.espresso.latte"