com.huanshankeji.kotlin-jvm-library-maven-publish-conventions
所有者: Shreck Ye
Kotlin/JVM库约定,使用 Maven 发布
https://github.com/huanshankeji/gradle-common
源码: https://github.com/huanshankeji/gradle-common.git
使用 plugins DSL
plugins {
id("com.huanshankeji.kotlin-jvm-library-maven-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-maven-publish-conventions")
使用 plugins DSL
plugins {
id "com.huanshankeji.kotlin-jvm-library-maven-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-maven-publish-conventions"