Search Gradle plugins

com.github.salomonbrys.gradle.kotlin.js.npm-bundle

A Gradle plugin that generates a package that can be used as-is in an npm JavaScript project.

https://github.com/SalomonBrys/kotlin-js-npm-bundle

Version 1.0.0 (latest)

Created 27 June 2019.

A Gradle plugin that generates a package that can be used as-is in an npm JavaScript project.

Using the plugins DSL:

plugins {
  id "com.github.salomonbrys.gradle.kotlin.js.npm-bundle" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.salomonbrys.gradle.kotlin.js:kotlin-js-npm-bundle:1.0.0"
  }
}

apply plugin: "com.github.salomonbrys.gradle.kotlin.js.npm-bundle"

Using the plugins DSL:

plugins {
  id("com.github.salomonbrys.gradle.kotlin.js.npm-bundle") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.salomonbrys.gradle.kotlin.js:kotlin-js-npm-bundle:1.0.0")
  }
}

apply(plugin = "com.github.salomonbrys.gradle.kotlin.js.npm-bundle")

Learn how to apply plugins to subprojects