io.github.scottpierce.kotlin-node-slim
Owner:
Scott Pierce
Creates a slim nodejs project of only the dependencies used by a Kotlin Node JS Gradle module so that only the used dependencies can be packaged. This helps to greatly reduce the released file size, especially in projects with multiple javascript projects.
https://github.com/ScottPierce/kotlin-node-slim
Version 0.0.3
Created 28 December 2022.
Creates a slim nodejs project of only the dependencies used by a Kotlin Node JS Gradle module so that only the used dependencies can be packaged. This helps to greatly reduce the released file size, especially in projects with multiple javascript projects.
Using the plugins DSL:
plugins {
id("io.github.scottpierce.kotlin-node-slim") version "0.0.3"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("io.github.scottpierce.kotlin-node-slim:kotlin-node-slim:0.0.3")
}
}
apply(plugin = "io.github.scottpierce.kotlin-node-slim")
Using the plugins DSL:
plugins {
id "io.github.scottpierce.kotlin-node-slim" version "0.0.3"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.github.scottpierce.kotlin-node-slim:kotlin-node-slim:0.0.3"
}
}
apply plugin: "io.github.scottpierce.kotlin-node-slim"