Search Gradle plugins

Combine (w/requireJS), lint, document, minify and gzip your JavaScript!

https://github.com/eriwen/gradle-js-plugin/

Version 2.12.0

Created 29 March 2016.

Gradle plugin for working with JS

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.eriwen.gradle.js") version "2.12.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.eriwen.gradle.js:com.eriwen.gradle.js.gradle.plugin:2.12.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.eriwen.gradle.js")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.eriwen.gradle.js:com.eriwen.gradle.js.gradle.plugin:2.12.0")
      }
    }
    
    apply(plugin = "com.eriwen.gradle.js")
  • Applying plugins to all subprojects .