Class SassWarPlugin

java.lang.Object
io.freefair.gradle.plugins.sass.SassWarPlugin
All Implemented Interfaces:
Plugin<Project>

@Incubating public class SassWarPlugin extends Object implements Plugin<Project>
Plugin that integrates Sass compilation with WAR projects.

Applies SassWebjarsPlugin and Gradle's WarPlugin, then registers a compileWebappSass task that compiles Sass/SCSS files from the webapp directory (src/main/webapp) and includes the compiled CSS in the WAR file.

The compiled output is placed in the WAR at the same relative path as the source files.

  • Constructor Details

    • SassWarPlugin

      public SassWarPlugin()
  • Method Details