Search Gradle plugins

Version 0.4.0

Created 10 March 2023.

Kotlin Multiplatform conventions with the JVM target and the JS browser target

Using the plugins DSL:

plugins {
  id("com.huanshankeji.kotlin-multiplatform-jvm-and-js-browser-conventions") version "0.4.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.huanshankeji.kotlin-multiplatform-jvm-and-js-browser-conventions" version "0.4.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects