Search Gradle plugins

Version 0.4.1

0.4.1

Created 12 March 2023.

Sonatype OSSRH Maven Central publish

Using the plugins DSL:

plugins {
  id("com.huanshankeji.sonatype-ossrh-publish") version "0.4.1"
}

Using legacy plugin application:

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

apply(plugin = "com.huanshankeji.sonatype-ossrh-publish")

Using the plugins DSL:

plugins {
  id "com.huanshankeji.sonatype-ossrh-publish" version "0.4.1"
}

Using legacy plugin application:

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

apply plugin: "com.huanshankeji.sonatype-ossrh-publish"

Learn how to apply plugins to subprojects