Search Gradle plugins

Version 0.3.0-SNAPSHOT-test

Created 23 September 2022.

Kotlin/JVM library conventions with Sonatype OSSRH Maven Central publish

Using the plugins DSL:

plugins {
  id("com.huanshankeji.kotlin-jvm-library-sonatype-ossrh-publish-conventions") version "0.3.0-SNAPSHOT-test"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.huanshankeji.kotlin-jvm-library-sonatype-ossrh-publish-conventions" version "0.3.0-SNAPSHOT-test"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects