Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Modules Manager Grails Plugin

Creates resources modules using packaged resources from maven central repository. Script consume jar packaged web js/css resources and produce resources DSL with web-app assets.

Usage

Define js & css dependency.

grails-app/config/BuildConfig.groovy :

...
dependencies {
    compile 'org.webjars:bootstrap:2.1.1'
    compile 'org.webjars:backbonejs:0.9.2'
    compile 'org.webjars:jquery-mobile:1.2.0'
}
...

Create resources modules

grails refresh-modules

Manager will create config/Modules**Resources.groovy and js/css files in web-app/modules/

To re-create and force override resources modules

grails refresh-modules --force

Configuration

conf/BuildConfig.groovy

...
modules {

    // Trigger modules refresh on project compile
    refreshOnCompile = true

    // force override resources modules on refresh on compile
    forceOverride = true

}
...

Note

Module manager only support web resources from webjars.org

History

0.2.1 Fix java.lang.StackOverflowError

0.2.0 Improvements

0.1.0 Initial version

About

Resources Modules Manager Grails Plugin

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.