Search Gradle plugins

Version 0.5.1 (latest)

0.5.1

Created 15 March 2024.

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.5.1"
}

Using legacy plugin application:

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

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.5.1"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects