Asual

LESS for Java

LESS extends CSS with: variables, mixins, operations and nested rules. Best of all, LESS uses existing CSS syntax. The following projects enable the use of the original less.js distribution in pure JVM environment thanks to Rhino.

LESS Engine

LESS Engine provides basic access to the core LESS functionality. It's a core library that can be used for a variety of JVM based LESS applications.

Source and docs on GitHub

LESS Servlet

LESS Servlet enables optimized runtime processing of LESS resources. It can be used with any static file or classpath resource and offers minification using cssmin.js and the Closure compiler.

The functionality can be easily utilized in a Maven project by adding the following configuration to the dependencies section of the pom.xml file.

Source and docs on GitHub