Skip to content
This repository was archived by the owner on Jan 9, 2019. It is now read-only.

Commit a5eaf1b

Browse files
committed
Update version to 1.6.1-SNAPSHOT and add compiler params example to README.md
1 parent d514558 commit a5eaf1b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Official 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.)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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>

0 commit comments

Comments
 (0)