com.huanshankeji.kotlin-jvm-library-sonatype-ossrh-publish-conventions
所有者: Shreck Ye
带有Sonatype OSSRH Maven Central发布的Kotlin/JVM库约定
https://github.com/huanshankeji/gradle-common
源码: https://github.com/huanshankeji/gradle-common.git
使用 插件DSL
plugins {
id("com.huanshankeji.kotlin-jvm-library-sonatype-ossrh-publish-conventions") version "0.5.1"
}
使用 旧版插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.huanshankeji:kotlin-common-gradle-plugins:0.5.1")
}
}
apply(plugin = "com.huanshankeji.kotlin-jvm-library-sonatype-ossrh-publish-conventions")
使用 插件DSL
plugins {
id "com.huanshankeji.kotlin-jvm-library-sonatype-ossrh-publish-conventions" version "0.5.1"
}
使用 旧版插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.huanshankeji:kotlin-common-gradle-plugins:0.5.1"
}
}
apply plugin: "com.huanshankeji.kotlin-jvm-library-sonatype-ossrh-publish-conventions"