eriwen / gradle-js-plugin

Gradle plugin for working with JS
http://eriwen.github.io/gradle-js-plugin
Apache License 2.0
382 stars 113 forks source link

Source array order doesn't accept regex #140

Closed ghost closed 7 years ago

ghost commented 7 years ago

Code example:

task myTask(type: com.eriwen.gradle.js.tasks.CombineJsTask) {
    encoding = "UTF-8"
    source = ["src/main/webapp/client/static/angular-app/app.client.js","*.js"]
    dest = "src/main/webapp/client/bundle/js/angular-app.min.js"
}

Can i use order on this method?:

source = ["src/main/webapp/client/static/angular-app/app.client.js","*.js"]

I want to app.client.js will be first item to minify or combine. After that, the archives which matches with regex *js.