wcomponents-sass-compiler

Wrapper for Vaadin Sass Compiler which adds an Ant task and the ability to input a directory rather than a single sass file.

License

License

GroupId

GroupId

com.github.bordertech.wcomponents
ArtifactId

ArtifactId

wcomponents-sass-compiler
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

wcomponents-sass-compiler
Wrapper for Vaadin Sass Compiler which adds an Ant task and the ability to input a directory rather than a single sass file.
Source Code Management

Source Code Management

https://github.com/bordertech/wcomponents-sass-compiler

Download wcomponents-sass-compiler

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.bordertech.wcomponents/wcomponents-sass-compiler/ -->
<dependency>
    <groupId>com.github.bordertech.wcomponents</groupId>
    <artifactId>wcomponents-sass-compiler</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.bordertech.wcomponents/wcomponents-sass-compiler/
implementation 'com.github.bordertech.wcomponents:wcomponents-sass-compiler:1.0.0'
// https://jarcasting.com/artifacts/com.github.bordertech.wcomponents/wcomponents-sass-compiler/
implementation ("com.github.bordertech.wcomponents:wcomponents-sass-compiler:1.0.0")
'com.github.bordertech.wcomponents:wcomponents-sass-compiler:jar:1.0.0'
<dependency org="com.github.bordertech.wcomponents" name="wcomponents-sass-compiler" rev="1.0.0">
  <artifact name="wcomponents-sass-compiler" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.bordertech.wcomponents', module='wcomponents-sass-compiler', version='1.0.0')
)
libraryDependencies += "com.github.bordertech.wcomponents" % "wcomponents-sass-compiler" % "1.0.0"
[com.github.bordertech.wcomponents/wcomponents-sass-compiler "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.vaadin : vaadin-sass-compiler jar 0.9.13

provided (1)

Group / Artifact Type Version
org.apache.ant : ant jar 1.9.6

test (1)

Group / Artifact Type Version
org.apache.ant : ant-testutil jar 1.9.6

Project Modules

There are no modules declared in this project.

wcomponents-sass-compiler

Thin wrapper around Vaadin Sass Compiler in order to:

  1. Add an Ant task (which greatly improves performance over the Ant java task).
  2. Support input/output directories rather than single files.

Usage

Example maven usage:

<plugin>
	<artifactId>maven-antrun-plugin</artifactId>
	<version>1.8</version>
	<executions>
		<execution>
			<phase>generate-sources</phase>
			<configuration>
				<target>
					<delete dir="${css.dir}"/>
					<target name="compileSass">
						<path id="plugin.classpath">
							<path path="${maven.plugin.classpath}"/>
						</path>
						<taskdef name="sass" classname="com.github.bordertech.wcomponents.sass.SassTask" classpathref="plugin.classpath"/>
						<sass in="${sass.dir}" out="${css.dir}" urlmode="absolute"/>
					</target>
				</target>
			</configuration>
			<goals>
				<goal>run</goal>
			</goals>
		</execution>
	</executions>
	<dependencies>
		<dependency>
			<groupId>com.github.bordertech.wcomponents</groupId>
			<artifactId>wcomponents-sass-compiler</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.ant</groupId>
			<artifactId>ant</artifactId>
			<version>1.9.6</version>
		</dependency>
	</dependencies>
</plugin>

It supports all options supported by the Vaadin Sass Compiler, attributes are all one word, all lower-case.

Versions

Version 1.0.0 wraps Vaadin Sass Compiler version 0.9.13.

com.github.bordertech.wcomponents
Open source projects from the Border

Versions

Version
1.0.0