File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ compileSass {
4343 // Directory where to output generated CSS:
4444 outputDir = project.file ("${buildDir}/sass")
4545
46+ // Sub path where to copy generated CSS, eg relative to war root:
47+ destPath = "."
48+
4649 // Source directory containing sass to compile:
4750 sourceDir = project.file ("${projectDir}/src/main/sass")
4851
@@ -84,6 +87,15 @@ The easiest way to use this plugin is to apply it, along with the war
8487plugin, and put your sass files under ` src/main/sass ` .
8588See [ samples/simple] ( samples/simple/build.gradle ) .
8689
90+ ### With custom paths
91+
92+ You can customize the path where to pickup the SASS sources (` sourceDir ` )
93+ as well as the path inside the war where to put the generated CSS (` destPath ` ).
94+ See [ samples/custom-paths] ( samples/custom-paths/build.gradle ) .
95+
96+ Note that the ` outputDir ` is an intermediate folder where the CSS is output
97+ before being copied to the war. There should be no need to customize it.
98+
8799### Without the war plugin
88100
89101If you’re not using the war plugin,
You can’t perform that action at this time.
0 commit comments