@CacheableTask
@Incubating
public abstract class SassCompile
extends org.gradle.api.tasks.SourceTask
| Constructor and Description |
|---|
SassCompile() |
| Modifier and Type | Method and Description |
|---|---|
void |
compileSass() |
abstract org.gradle.api.provider.ListProperty<CustomImporter> |
getCustomImporters()
Custom import functions.
|
abstract org.gradle.api.file.DirectoryProperty |
getDestinationDir() |
abstract org.gradle.api.provider.ListProperty<FileImporter> |
getFileImporters() |
abstract org.gradle.api.provider.ListProperty<HostFunction> |
getHostFunctions()
Custom import functions.
|
abstract org.gradle.api.file.ConfigurableFileCollection |
getIncludePaths()
SassList of paths.
|
abstract org.gradle.api.provider.Property<Boolean> |
getOmitSourceMapUrl()
Disable sourceMappingUrl in css output.
|
protected org.gradle.api.file.FileTree |
getOutputFiles() |
org.gradle.api.provider.Property<sass.embedded_protocol.EmbeddedSass.OutputStyle> |
getOutputStyle()
Output style for the generated css code.
|
abstract org.gradle.api.provider.Property<Boolean> |
getSourceMapContents()
Embed include contents in maps.
|
abstract org.gradle.api.provider.Property<Boolean> |
getSourceMapEmbed()
Embed sourceMappingUrl as data uri.
|
abstract org.gradle.api.provider.Property<Boolean> |
getSourceMapEnabled() |
abstract org.gradle.api.provider.Property<URI> |
getSourceMapRoot() |
abstract org.gradle.api.file.ConfigurableFileCollection |
getWebjars() |
void |
setOutputStyle(String outputStyle) |
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSet, getPatternSetFactory, getSource, include, include, include, include, setExcludes, setIncludes, setSource, setSource, sourceconventionMapping, conventionMapping, getConventionMappingcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects@OutputFiles protected org.gradle.api.file.FileTree getOutputFiles()
@Internal public abstract org.gradle.api.file.DirectoryProperty getDestinationDir()
public void compileSass()
throws IOException
IOException@Input @Optional public abstract org.gradle.api.provider.ListProperty<HostFunction> getHostFunctions()
@Input @Optional public abstract org.gradle.api.provider.ListProperty<FileImporter> getFileImporters()
@Input @Optional public abstract org.gradle.api.provider.ListProperty<CustomImporter> getCustomImporters()
@InputFiles @Optional @PathSensitive(value=RELATIVE) public abstract org.gradle.api.file.ConfigurableFileCollection getWebjars()
@InputFiles @Optional @PathSensitive(value=RELATIVE) public abstract org.gradle.api.file.ConfigurableFileCollection getIncludePaths()
@Input public abstract org.gradle.api.provider.Property<Boolean> getOmitSourceMapUrl()
@Input public abstract org.gradle.api.provider.Property<Boolean> getSourceMapContents()
@Input public abstract org.gradle.api.provider.Property<Boolean> getSourceMapEmbed()
@Input public abstract org.gradle.api.provider.Property<Boolean> getSourceMapEnabled()
@Input @Optional public abstract org.gradle.api.provider.Property<URI> getSourceMapRoot()
public void setOutputStyle(String outputStyle)
public org.gradle.api.provider.Property<sass.embedded_protocol.EmbeddedSass.OutputStyle> getOutputStyle()