{"id":13537458,"url":"https://github.com/marcoRS/lint-cleaner-plugin","last_synced_at":"2025-04-02T04:30:44.707Z","repository":{"id":19867876,"uuid":"23131497","full_name":"marcoRS/lint-cleaner-plugin","owner":"marcoRS","description":"A Gradle Plugin that removes unused resources in Android projects.","archived":false,"fork":false,"pushed_at":"2019-02-04T00:08:29.000Z","size":252,"stargazers_count":703,"open_issues_count":11,"forks_count":107,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-11-03T02:32:58.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcoRS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-20T01:20:27.000Z","updated_at":"2024-11-03T00:50:15.000Z","dependencies_parsed_at":"2022-07-22T07:32:12.519Z","dependency_job_id":null,"html_url":"https://github.com/marcoRS/lint-cleaner-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoRS%2Flint-cleaner-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoRS%2Flint-cleaner-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoRS%2Flint-cleaner-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoRS%2Flint-cleaner-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcoRS","download_url":"https://codeload.github.com/marcoRS/lint-cleaner-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246756922,"owners_count":20828795,"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":[],"created_at":"2024-08-01T09:00:59.296Z","updated_at":"2025-04-02T04:30:44.151Z","avatar_url":"https://github.com/marcoRS.png","language":"Groovy","funding_links":[],"categories":["Groovy","Libs"],"sub_categories":["\u003cA NAME=\"Plugin\"\u003e\u003c/A\u003ePlugin"],"readme":"#Lint Cleaner Plugin \n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.droidtitan/lint-cleaner-plugin/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/com.droidtitan/lint-cleaner-plugin) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-lint--cleaner--plugin-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/877)\n\nRemoves unused resources reported by Android lint including strings, colors and dimensions.\n\n## Depracated\nAs of Android Studio 2.0+ you can use `Refactor -\u003e Remove Unused Resources`\n\n![ScreenShot](/images/remove-unused-resources.png)\n\n## Usage\n\nApply the plugin in your `build.gradle`:\n\n```groovy\nbuildscript {\n  repositories {\n    mavenCentral()\n  }\n  dependencies {\n    classpath 'com.android.tools.build:gradle:0.12.+'\n    classpath 'com.droidtitan:lint-cleaner-plugin:0.3.0'\n  }\n}\n\napply plugin: 'android'\napply plugin: 'com.droidtitan.lintcleaner'\n```\n\n\nFinally, to remove unused resources use: \n     \n    gradle lintClean\n\n## Optional Configuration using DSL\n\n```groovy\nlintCleaner {\n    // Exclude specific files\n    exclude = ['com_crashlytics_export_strings.xml','config.xml']\n\n    // Ability to ignore all resource files. False by default. \n    ignoreResFiles = true\n    \n    // Default path is build/outputs/lint-results.xml\n    lintXmlFilePath = 'path/to/lint-results.xml'\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FmarcoRS%2Flint-cleaner-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FmarcoRS%2Flint-cleaner-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FmarcoRS%2Flint-cleaner-plugin/lists"}