nebula.maven-shadow-publish
所有者: 星云插件
配置项目使用shadowJar工件代替jar工件,当用户想要替代jar任务时
https://github.com/nebula-plugins/nebula-publishing-plugin
源代码: https://github.com/nebula-plugins/nebula-publishing-plugin.git
使用plugins DSL
plugins {
id("nebula.maven-shadow-publish") version "18.4.0"
}
使用旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.netflix.nebula:nebula-publishing-plugin:18.4.0")
}
}
apply(plugin = "nebula.maven-shadow-publish")
使用plugins DSL
plugins {
id "nebula.maven-shadow-publish" version "18.4.0"
}
使用旧插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.netflix.nebula:nebula-publishing-plugin:18.4.0"
}
}
apply plugin: "nebula.maven-shadow-publish"