no changes yet
- Updated to node version 8.15.0 to fix javascript version problems
- Updated less and bintray plugin
- Added sass plugin
The plugin tasks now correctly declare there own configuration as input properties, therefor configuration changes now will clear the UP-TO-DATE
status and the tasks will correctly be rerun.
A new (incubating) plugin cc.catalysts.webjars
which creates a helper Java class containing information about all resolved webjar dependencies.
The systemjs plugin is now completely self-contained and doesn't requrie additional setup within the project anymore.
- A new config property
npmDependencies
to specify the version of the build dependencies used - No external configuration in project necessary anymore
package.json
and script file will be autogenerated
- A new config property
cssFileName
has been introduced which accepts aClosure<String>
to transform the input file names to output file names - It is now possible to define your own tasks of type
Less
to execute multiple independent configurations
less {
cssFileName = {return it.replace('.less', '.min.css')}
}
task unminifiedLess(type: Less) {
plugins = ['autoprefix']
cssFileName = {return it.replace('.less', '.css')}
}
tasks.less.dependsOn('unminifiedLess')
Webjar versions for less
and systemjs
plugins are now resolved correctly
- The webjar versions for the global less variables now represent the resolved values. This enables us to use arbitrary version formats in our gradle files.
dependencies {
compile 'org.webjars.bower:angular:[1.4.6,1.5)'
}
Value of generated variable webjars-angular
Before: webjars/angular/[1.4.6,1.5)
After: webjars/angular/1.4.9
- The webjar versions for the systemjs config paths now represent the resolved values. This enables us to use arbitrary version formats in our gradle files.
dependencies {
compile 'org.webjars.bower:angular:[1.4.6,1.5)'
}
Value of generated path webjars/angular/*
Before: webjars/angular/[1.4.6,1.5)/*
After: webjars/angular/1.4.9/*
Let us introduce a new plugin dmuncle
A new plugin featuring detection and reporting of outdated dependencies within your gradle project.
This version brings you more configration options for the less plugin.
- Introduced new configuration options:
- npmDependencies: allows to control which dependencies (and in which version) are installed via npm
- plugins: specify which less-plugins will be applied
- pluginOptions: allow specification of plugin arguments
- additionalArguments: any number of additional command line arguments to pass to the less compiler