Search Gradle plugins

Version 0.6.0 (latest)

0.6.0

Created 22 October 2024.

Kotlin/JVM library conventions with Maven publish

Using the plugins DSL:

plugins {
  id("com.huanshankeji.kotlin-jvm-library-maven-publish-conventions") version "0.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.huanshankeji:kotlin-common-gradle-plugins:0.6.0")
  }
}

apply(plugin = "com.huanshankeji.kotlin-jvm-library-maven-publish-conventions")

Using the plugins DSL:

plugins {
  id "com.huanshankeji.kotlin-jvm-library-maven-publish-conventions" version "0.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.huanshankeji:kotlin-common-gradle-plugins:0.6.0"
  }
}

apply plugin: "com.huanshankeji.kotlin-jvm-library-maven-publish-conventions"

Learn how to apply plugins to subprojects