Gradle Plugins

Maintained by aalmiray

Summary

Aiming to be the simplest way to manage your JavaScript in a build.

Website https://github.com/eriwen/gradle-js-plugin
Author eriwen
Version 1.9.0

Usage

buildscript {
    repositories { jcenter() }
    dependencies {
        classpath 'com.eriwen:gradle-js-plugin:1.9.0'
    }
}

apply plugin: 'js'

// Declare your sources
javascript.source {
    dev {
        js {
            srcDir jsSrcDir
            include "*.js"
            exclude "*.min.js"
        }
    }
    prod {
        js {
            srcDir jsSrcDir
            include "*.min.js"
        }
    }
}