Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.
/ gradle-less-plugin Public archive

Gradle plugin to compile LESS stylesheets to CSS.

License

Notifications You must be signed in to change notification settings

skhome/gradle-less-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This project is a gradle plugin to easily use a LESS compiler with your gradle build script.

Usage

To use the plugin add the following snippet to your build script.

buildscript {

	repositories {
		mavenCentral()
		mavenRepo url: 'https://github.com/skhome/maven-repository/raw/master'
	}

	dependencies {
		classpath "net.skhome:gradle-less-plugin:1.0.0"
	}

}

apply plugin: 'less'

The plugin will add a less extension to your build script which you can use to configure the plugin.

less {
	sourceDir "${webAppDirName}/less"
	outputDir "${webAppDirName}/css"
	includes '**/*.less'
	excludes 'reset.less'
	compress true
}

For a documentation on all configuration options please see the plugin extension

LICENSE

Copyright © 2000 Sascha Krueger

This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. See the COPYING file for more details.

About

Gradle plugin to compile LESS stylesheets to CSS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages