io.github.gradle-nexus.publish-plugin
Gradle 插件,用于向Nexus发表,自动化创建、关闭和发布预发布仓库
https://github.com/gradle-nexus/publish-plugin
源代码:https://github.com/gradle-nexus/publish-plugin
使用插件 DSL
plugins {
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
}
使用旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("io.github.gradle-nexus:publish-plugin:2.0.0")
}
}
apply(plugin = "io.github.gradle-nexus.publish-plugin")