Search Gradle plugins

com.huanshankeji.kotlin-multiplatform-jvm-and-js-browser-sonatype-ossrh-publish-conventions

Kotlin Multiplatform conventions with the JVM target and the JS browser target, and with Sonatype OSSRH Maven Central publish

https://github.com/huanshankeji/gradle-common

Version 0.3.2 (latest)

Created 29 September 2022.

Kotlin Multiplatform conventions with the JVM target and the JS browser target, and with Sonatype OSSRH Maven Central publish

Using the plugins DSL:

plugins {
  id "com.huanshankeji.kotlin-multiplatform-jvm-and-js-browser-sonatype-ossrh-publish-conventions" version "0.3.2"
}

Using legacy plugin application:

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

apply plugin: "com.huanshankeji.kotlin-multiplatform-jvm-and-js-browser-sonatype-ossrh-publish-conventions"

Using the plugins DSL:

plugins {
  id("com.huanshankeji.kotlin-multiplatform-jvm-and-js-browser-sonatype-ossrh-publish-conventions") version "0.3.2"
}

Using legacy plugin application:

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

apply(plugin = "com.huanshankeji.kotlin-multiplatform-jvm-and-js-browser-sonatype-ossrh-publish-conventions")

Learn how to apply plugins to subprojects