{"id":13473087,"url":"https://github.com/noveogroup/android-check","last_synced_at":"2025-03-26T17:31:49.862Z","repository":{"id":23694037,"uuid":"27065960","full_name":"noveogroup/android-check","owner":"noveogroup","description":"Static code analysis plugin for Android project. (Checkstyle, PMD)","archived":false,"fork":false,"pushed_at":"2018-05-28T14:02:23.000Z","size":274,"stargazers_count":268,"open_issues_count":21,"forks_count":67,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-10-30T05:26:26.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Hack-with-Github/Awesome-Hacking","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noveogroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-11-24T07:46:12.000Z","updated_at":"2024-09-01T12:43:05.000Z","dependencies_parsed_at":"2022-08-22T04:10:40.593Z","dependency_job_id":null,"html_url":"https://github.com/noveogroup/android-check","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noveogroup%2Fandroid-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noveogroup%2Fandroid-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noveogroup%2Fandroid-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noveogroup%2Fandroid-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noveogroup","download_url":"https://codeload.github.com/noveogroup/android-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245702362,"owners_count":20658602,"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-07-31T16:01:00.642Z","updated_at":"2025-03-26T17:31:49.451Z","avatar_url":"https://github.com/noveogroup.png","language":"Groovy","funding_links":[],"categories":["Android","Инструменты анализа"],"sub_categories":["Tools"],"readme":"Android Check\n=============\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-android--check-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1530)\n\nStatic code analysis plugin for Android project.\n\nUsage\n-----\n\nModifications in `\u003cproject_dir\u003e/build.gradle`:\n\n```groovy\nbuildscript {\n    repositories { jcenter() }\n    dependencies {\n        ...\n        classpath 'com.noveogroup.android:check:1.2.5'\n        ...\n    }\n}\n```\n\nModifications in `\u003cproject_dir\u003e/\u003cmodule_name\u003e/build.gradle`:\n\n```groovy\napply plugin: 'com.noveogroup.android.check'\n```\n\nConfiguration\n-------------\n\n### Recommended\n\nRecommended configuration is a default one (empty).\n\n```groovy\n// no configuration\n```\n\n### Hardcore\n\n```groovy\ncheck {\n  abortOnError true\n  checkstyle { config hard() }\n  findbugs { config hard() }\n  pmd { config hard() }\n}\n```\n\n### Skip checking\n\n```groovy\ncheck { skip true }\n```\n\nSkip Checkstyle only\n\n```groovy\ncheck { checkstyle { skip true } }\n```\n\nSkip FindBugs only\n\n```groovy\ncheck { findbugs { skip true } }\n```\n\nSkip PMD only\n\n```groovy\ncheck { pmd { skip true } }\n```\n\n### Description\n\n```groovy\n// configuration is optional\ncheck {\n  // skip source code checking or not, false by default\n  skip true/false\n  // fails build if code style violation is found, false by default\n  abortOnError true/false\n  // configuration of Checkstyle checker\n  checkstyle {\n    // skip Checkstyle, false by default\n    skip true/false\n\n    // fails build if Checkstyle rule violation is found, false by default\n    abortOnError true/false\n\n    // configuration file\n    config project.file('path/to/checkstyle.xml')\n    // configuration resource\n    // see http://gradle.org/docs/2.2/release-notes#sharing-configuration-files-across-builds\n    config resources.text.fromFile(someTask)\n    // configuration path\n    config 'path/to/checkstyle.xml'\n    // predefined configurations: easy and hard\n    config easy()\n    config hard()\n    // by default plugin finds configuration file in \u003crootProject\u003e/config/checkstyle.xml,\n    // after that in \u003cproject\u003e/config/checkstyle.xml and if there are no configuration\n    // file, easy() configuration will be used.\n\n    // directory for report files\n    report new File(project.buildDir, 'reports/pmd')\n    // XML report file\n    reportXML new File(project.buildDir, 'reports/checkstyle/checkstyle.xml')\n    // HTML report file\n    reportHTML new File(project.buildDir, 'reports/checkstyle/checkstyle.html')\n  }\n  // configuration of FindBugs checker\n  findbugs {\n    // the same configuration as for Checkstyle\n\n    // by default plugin finds configuration file in \u003crootProject\u003e/config/findbugs.xml,\n    // after that in \u003cproject\u003e/config/findbugs.xml and if there are no configuration\n    // file, easy() configuration will be used.\n  }\n  // configuration of PMD checker\n  pmd {\n    // the same configuration as for Checkstyle\n\n    // by default plugin finds configuration file in \u003crootProject\u003e/config/pmd.xml,\n    // after that in \u003cproject\u003e/config/pmd.xml and if there are no configuration\n    // file, easy() configuration will be used.\n  }\n}\n```\n\nDeveloped By\n============\n\n* [Noveo Group][1]\n* [Pavel Stepanov](https://github.com/stefan-nsk)\n* [Sergey Malichenko](https://github.com/smalichenko) - \u003cSergey.Malichenko@noveogroup.com\u003e\n\nLicense\n=======\n\n    Copyright (c) 2017 Noveo Group\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    Except as contained in this notice, the name(s) of the above copyright holders\n    shall not be used in advertising or otherwise to promote the sale, use or\n    other dealings in this Software without prior written authorization.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n\n[1]: http://noveogroup.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoveogroup%2Fandroid-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoveogroup%2Fandroid-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoveogroup%2Fandroid-check/lists"}