{"id":31721171,"url":"https://github.com/obecker/gradle-lesscss-plugin","last_synced_at":"2026-03-16T23:36:49.299Z","repository":{"id":7073667,"uuid":"8360742","full_name":"obecker/gradle-lesscss-plugin","owner":"obecker","description":"A gradle plugin for compiling LESS files into CSS files","archived":false,"fork":false,"pushed_at":"2013-09-06T12:29:14.000Z","size":128,"stargazers_count":8,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-07-03T10:01:08.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/obecker.png","metadata":{"files":{"readme":"README-1.1.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-22T16:10:26.000Z","updated_at":"2023-07-03T10:01:08.012Z","dependencies_parsed_at":"2022-09-26T22:01:34.037Z","dependency_job_id":null,"html_url":"https://github.com/obecker/gradle-lesscss-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/obecker/gradle-lesscss-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fgradle-lesscss-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fgradle-lesscss-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fgradle-lesscss-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fgradle-lesscss-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obecker","download_url":"https://codeload.github.com/obecker/gradle-lesscss-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obecker%2Fgradle-lesscss-plugin/sbom","scorecard":{"id":700814,"data":{"date":"2025-08-11","repo":{"name":"github.com/obecker/gradle-lesscss-plugin","commit":"302fab095e7bc5d076d717fe9a6c526fec27a1ca"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 1/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T05:10:26.521Z","repository_id":7073667,"created_at":"2025-08-22T05:10:26.521Z","updated_at":"2025-08-22T05:10:26.521Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000713,"owners_count":26082911,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-09T03:42:43.136Z","updated_at":"2025-10-09T03:42:46.684Z","avatar_url":"https://github.com/obecker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gradle LessCss Plugin [![Build Status](https://travis-ci.org/obecker/gradle-lesscss-plugin.png?branch=master)](https://travis-ci.org/obecker/gradle-lesscss-plugin)\n\nA gradle plugin that compiles [LESS](http://lesscss.org) files to CSS.\n\nThis plugin helps to you to integrate the processing of LESS files into your automated build process without the need of installing node.js\non the build server or adding the compiled CSS files to your version control system.\n\n## Versions\n\n* Version 1.0-1.3.3 of the plugin uses LESS version 1.3.3.\n* Version 1.1-1.3.3 of the plugin _(not released yet)_ enables you to choose from LESS versions 1.1.3, 1.1.5, 1.3.1, 1.3.2, 1.3.3.\n\n\n## Usage\n\n#### Add the plugin\n\nAdd artifact for the plugin to your [Gradle](http://gradle.org) buildscript dependencies in your *build.gradle*:\n\n```groovy\nbuildscript {\n    repositories {\n        mavenCentral()\n    }\n    dependencies {\n        classpath 'de.obqo.gradle:gradle-lesscss-plugin:1.0-1.3.3'\n    }\n}\n```\n\n#### Activate the plugin\n\n```groovy\napply plugin: 'lesscss'\n```\n\n#### Configure the plugin\n\n```groovy\nlesscss {\n    source = fileTree('src/main/less') {\n        include 'style.less'\n    }\n    dest = 'src/main/webapp/assets/css'\n    compress = true\n    lessVersion = '1.3.3'\n}\n```\n\n#### Run the plugin\n\nThe plugin adds two tasks to the build script: `lesscss` and (implicitly) `cleanLesscss`.\n\n* `lesscss` - compiles the specified LESS files from the `source` directory to CSS files in the `dest` directory\n* `cleanLesscss` - deletes completely the `dest` directory (be careful if there are other than generated CSS files in this directory)\n\nYou may optionally add a dependency for example for the `war` task by specifying\n\n```groovy\nwar {\n    dependsOn 'lesscss'\n}\n```\n\nThen everytime the `war` task is executed the `lesscss` task will be executed before.\n\n\n**That's it!**\n\n## Options\n\nThe `lesscss` object provides 3 properties for configuring the gradle-lesscss-plugin:\n\n* `source` (required)  \ndescribes the LESS sources. The `fileTree` should refer to the LESS base directory (`\"src/main/less\"` in the example above), then `include` will select\nonly the files to be compiled (`\"style.less\"` in the example). The value for `include` might be an Ant-style file pattern (see the section about\n[File trees](http://www.gradle.org/docs/current/userguide/working_with_files.html#sec:file_trees) in the gradle user guide).\nNote: it is important to correctly set the base directory since all contained files (i.e. imported modules) will be accounted for determining whether the\noutput CSS files are up-to-date or not.\n\n* `dest` (required)  \ndescribes the target directory for the CSS files. This is either a string or a file object. The names of the generated CSS files are derived from the\nsource files, thus compiling `style.less` results in `style.css` in the `dest` directory.\n\n* `compress` (optional, defaults to `false`)  \nwhen set to `true` turns on compression of the created CSS files.\n\n* `lessVersion` (optional, defaults to `1.3.3`)\nset the LESS version for compiler. supported versions are `1.1.3`, `1.1.5`, `1.3.1`, `1.3.2`, `1.3.3`.\n\n## Acknowledgments\n\nMain parts of the build configuration as well as two classes for running JS scripts with Rhino have been taken from Eric Wendelin's great\n[gradle-js-plugin](https://github.com/eriwen/gradle-js-plugin). Without his work the development of this plugin would have taken much longer (or would\nhave possibly not even succeeded). Thanks Eric!\n\nSupport for `lessVersion` has been added by Alex Ley.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobecker%2Fgradle-lesscss-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobecker%2Fgradle-lesscss-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobecker%2Fgradle-lesscss-plugin/lists"}