{"id":15011428,"url":"https://github.com/paginagmbh/lesscss-java","last_synced_at":"2025-10-03T20:32:06.285Z","repository":{"id":32256305,"uuid":"35830696","full_name":"paginagmbh/lesscss-java","owner":"paginagmbh","description":"LESS CSS Compiler for Java","archived":false,"fork":true,"pushed_at":"2015-06-09T13:06:37.000Z","size":1193,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-29T18:04:46.930Z","etag":null,"topics":["css","java","less","lesscss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"marceloverdijk/lesscss-java","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paginagmbh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-18T17:00:26.000Z","updated_at":"2015-10-08T22:31:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/paginagmbh/lesscss-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paginagmbh%2Flesscss-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paginagmbh%2Flesscss-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paginagmbh%2Flesscss-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paginagmbh%2Flesscss-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paginagmbh","download_url":"https://codeload.github.com/paginagmbh/lesscss-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235184542,"owners_count":18949258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","java","less","lesscss"],"created_at":"2024-09-24T19:41:05.191Z","updated_at":"2025-10-03T20:32:00.879Z","avatar_url":"https://github.com/paginagmbh.png","language":"JavaScript","readme":"----\n\n\u003e This is a fork of https://github.com/marceloverdijk/lesscss-java/ which doesn't seem to be maintained anymore.\n\u003e We updated the lesscss library to 1.7.5 and fixed some small bugs.\n\u003e Feel free to use this fork but be aware that it is neither published on maven.org nor do we actively support this fork! Issues are closed.\n\n----\n\nOfficial LESS CSS Compiler for Java\n===================================\n\n**Latest release**  1.7.5.0 - The release is compatible with less 1.7.5 \n\n\nLESS CSS Compiler for Java is a library to compile LESS sources to CSS stylesheets.\n\nThe compiler uses Rhino, Envjs (simulated browser environment written in JavaScript), and the official LESS JavaScript compiler.\n\nLook at the simple example below to compile LESS to CSS:\n \n    // Instantiate the LESS compiler\n    LessCompiler lessCompiler = new LessCompiler();\n\n    // Instantiate the LESS compiler with some compiler options\n    LessCompiler lessCompiler = new LessCompiler(Arrays.asList(\"--relative-urls\", \"--strict-math=on\"));\n    \n    // Compile LESS input string to CSS output string\n    String css = lessCompiler.compile(\"@color: #4D926F; #header { color: @color; }\");\n    \n    // Or compile LESS input file to CSS output file\n    lessCompiler.compile(new File(\"main.less\"), new File(\"main.css\"));\n\nLessCompiler is thread safe. In other words, an application only needs one LessCompiler that it can reuse whenever necessary.\n\nTo learn more about LESS, please see http://lesscss.org/.\n\n\nGetting Started\n---------------\n\nDownload the latest version and add it to the project's classpath. Also the following dependencies are required:\n\n+ \u003ca href=\"http://commons.apache.org/io/\"\u003eApache Commons IO 2.4\u003c/a\u003e\n+ \u003ca href=\"http://commons.apache.org/lang/\"\u003eApache Commons Lang 3.1\u003c/a\u003e\n+ \u003ca href=\"http://www.mozilla.org/rhino/\"\u003eRhino: JavaScript for Java 1.7R4\u003c/a\u003e\n\nIf [SLF4J](http://www.slf4j.org/) is present in the classpath, it will be used for logging.\n\nCompatibility\n-------------\n\nThe LESS CSS Compiler for Java contains all LESS compatibility tests. All tests pass, except the @import test case which fails partially as the compiler does not support the media query import feature (yet).\n\nThe project also contains integration tests for compiling the Twitter Bootstrap (http://twitter.github.com/bootstrap/) library. If you are using another 3th party LESS library you want to be added to the integration tests, just create a issue and provide a link to the library.\n\n\nBuilding From Source\n--------------------\n\nCan be built with [Maven 2.2.x](http://maven.apache.org) (or later?) by using the following commands:\n\n    mvn package\n\nor, to install into your local Maven repository:\n\n    mvn install\n    \nYou may also wish to build API Documentation:\n\n    mvn javadoc:javadoc\n\n\nRelease an update (in a forked repo)\n------------------------------------\n\nFor this reason, in this fork the *maven-gpg-sign* process is set to skip during `mvn release:prepare` and the produced JARs aren't signed!\n\nRun the following from a Git Bash where GitHub login via SSH key is enabled:\n\n    mvn release:prepare\n\tmvn release:perform\n\nThis will create JAR bundles, a git version tag and commit and push itself to this repo.\n\n\nAuthors\n-------\n\n**Marcel Overdijk**\n+ marcel@overdijk.me\n+ http://twitter.com/marceloverdijk\n+ http://github.com/marceloverdijk\n\n**Craig Andrews**\n+ candrews@integralblue.com\n+ http://candrews.integralblue.com\n\n**Christophe Popov**\n+ http://twitter.com/chpopov\n+ http://uk.linkedin.com/in/hpopov/\n\n**Tobias Fischer** (pagina GmbH)\n+ https://github.com/tofi86\n+ https://github.com/paginagmbh\n\nCopyright and License\n---------------------\n\nCopyright 2012 Marcel Overdijk\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaginagmbh%2Flesscss-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaginagmbh%2Flesscss-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaginagmbh%2Flesscss-java/lists"}