This repository was archived by the owner on Jan 9, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11Official LESS CSS Compiler for Java
22===================================
33
4- ** Latest release** 1.3.3 - compatible with less 1.3.3
4+ ** Latest release** 1.6.1-SNAPSHOT - compatible with less 1.6.1
55
66
77
@@ -13,6 +13,9 @@ Look at the simple example below to compile LESS to CSS:
1313
1414 // Instantiate the LESS compiler
1515 LessCompiler lessCompiler = new LessCompiler();
16+
17+ // Instantiate the LESS compiler with some compiler options
18+ LessCompiler lessCompiler = new LessCompiler(Arrays.asList("--relative-urls", "--strict-math=on"));
1619
1720 // Compile LESS input string to CSS output string
1821 String css = lessCompiler.compile("@color: #4D926F; #header { color: @color; }");
@@ -33,7 +36,7 @@ Maven users should add the library using the following dependency:
3336 <dependency>
3437 <groupId>org.lesscss</groupId>
3538 <artifactId>lesscss</artifactId>
36- <version>1.3.3 </version>
39+ <version>1.6.1-SNAPSHOT </version>
3740 </dependency>
3841
3942(lesscss-java is in the Maven Central repository.)
Original file line number Diff line number Diff line change 33 <modelVersion >4.0.0</modelVersion >
44 <groupId >org.lesscss</groupId >
55 <artifactId >lesscss</artifactId >
6- <version >1.5 .1-SNAPSHOT</version >
6+ <version >1.6 .1-SNAPSHOT</version >
77 <packaging >jar</packaging >
88 <name >Official LESS CSS Compiler for Java</name >
99 <description >Official LESS CSS Compiler for Java</description >
You can’t perform that action at this time.
0 commit comments