dev.mythicdrops.gradle.convention.maven-publish
所有者: Richard Harrah
所有MythicDrops Maven发布Gradle项目的通用约定。
https://github.com/MythicDrops/mythicdrops-gradle-plugin
源码: https://github.com/MythicDrops/mythicdrops-gradle-plugin
使用 插件DSL
plugins {
id("dev.mythicdrops.gradle.convention.maven-publish") version "9.0.0"
}
使用 旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("dev.mythicdrops:mythicdrops-gradle-plugin:9.0.0")
}
}
apply(plugin = "dev.mythicdrops.gradle.convention.maven-publish")
使用 插件DSL
plugins {
id "dev.mythicdrops.gradle.convention.maven-publish" version "9.0.0"
}
使用 旧插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "dev.mythicdrops:mythicdrops-gradle-plugin:9.0.0"
}
}
apply plugin: "dev.mythicdrops.gradle.convention.maven-publish"