方法一:Using the plugins DSL:
plugins {
id "ua.eshepelyuk.ManifestClasspath" version "1.0.0"
}
方法二:Using legacy plugin application:(推荐)
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.ua.eshepelyuk:ManifestClasspath:1.0.0"
}
}
apply plugin: "ua.eshepelyuk.ManifestClasspath"
案例:
image.png
网友评论