.plugins.content.2.6.1.source-code.ContentResources.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of content Show documentation
Show all versions of content Show documentation
A plugin used to manage contents like static pages, menus etc. at one place.
Also provides shortened and user friendly urls.
modules = {
menuItem {
resource id: 'js', url: [dir: 'js/', file: "menu-item-sorting.js"], minify: true
resource id: 'css', url: [dir: 'css/', file: "menu-item-sorting.css"], minify: true
dependsOn 'draggableAndSortable'
}
draggableAndSortable {
resource id: 'js', url: [dir: 'js/jquery-ui', file: 'jquery-ui-1.10.3.custom.js']
}
wordAndCharacterCounter {
resource url: [dir: "js", file: "word-and-character-counter.js"]
}
tagcloud {
resource id: 'js', url: [dir: "js/jquery-tagcloud", file: "jquery.tagcloud.js"]
}
}