{"id":15178565,"url":"https://github.com/sunzxyong/apiinspect","last_synced_at":"2026-03-05T08:32:41.703Z","repository":{"id":61779071,"uuid":"163077646","full_name":"Sunzxyong/ApiInspect","owner":"Sunzxyong","description":"An api compatibility inspect gradle plugin.（一个Api兼容性检测的Gradle插件）","archived":false,"fork":false,"pushed_at":"2019-01-09T07:47:26.000Z","size":182,"stargazers_count":91,"open_issues_count":0,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-07T22:35:36.410Z","etag":null,"topics":["api","api-compat","check","compat","gradle-plugin","groovy","inspect"],"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/Sunzxyong.png","metadata":{"files":{"readme":"README.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":"2018-12-25T11:41:40.000Z","updated_at":"2025-04-01T09:08:41.000Z","dependencies_parsed_at":"2022-10-21T02:45:27.230Z","dependency_job_id":null,"html_url":"https://github.com/Sunzxyong/ApiInspect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sunzxyong/ApiInspect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunzxyong%2FApiInspect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunzxyong%2FApiInspect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunzxyong%2FApiInspect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunzxyong%2FApiInspect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sunzxyong","download_url":"https://codeload.github.com/Sunzxyong/ApiInspect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunzxyong%2FApiInspect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267977512,"owners_count":24175173,"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-07-31T02:00:08.723Z","response_time":66,"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":["api","api-compat","check","compat","gradle-plugin","groovy","inspect"],"created_at":"2024-09-27T15:05:31.953Z","updated_at":"2026-03-05T08:32:41.637Z","avatar_url":"https://github.com/Sunzxyong.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **ApiInspect**\nAn api compatibility inspect gradle plugin.（一个Api兼容性检测的Gradle插件）\n\n----\n\n[ ![Download](https://api.bintray.com/packages/sunzxyong/maven/ApiInspect/images/download.svg) ](https://bintray.com/sunzxyong/maven/ApiInspect/_latestVersion)[![Travis](https://img.shields.io/travis/rust-lang/rust.svg)]() [![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)]() ![](https://img.shields.io/badge/architecture-clean-yellow.svg)\n\n## **Introduce**\n\n\n## **Usage**\n### **Installation**\nAdd dependencies in **`build.gradle`** of the **`root project`**：\n\n```\n    dependencies {\n        // ...\n        classpath('com.zxy.android.plugin:api-inspect:1.2.0') {\n            exclude group: 'com.android.tools.build', module: 'gradle'\n        }\n    }\n```\n\nand add the **`apply plugin`** to build.gradle in the module：\n\n```\napply plugin: 'api.inspect'\n```\n\n### **Configuration**\nBy default, **`ApiInspect`** will inspects all apis but does not contain the system api. Of course, you can also customize **`exclude`** or **`include`** Settings：\n\n```\napiInspect {\n\n    enable true //Whether api inspect is enabled.\n\n    inspectSystemApi false //Whether to inspect the system api.\n\n    //Specify the library to inspect.\n//    include {\n//        //Value is the package name.\n//        api \"com.zxy.tiny\"\n//    }\n\n    //Specify the library not to inspect.\n//    exclude {\n//        //Value is the package name.\n//        api 'com.zxy.tiny'\n//        api 'com.google.zxing'\n//    }\n\n}\n```\n\n## **Inspect Result**\nWhen the Apk build is completed. The results of the inspection will be printed on the console：\n\n\u003cimg src=\"https://raw.githubusercontent.com/Sunzxyong/ImageRepository/master/apiinspect.png\" width=\"500\"/\u003e\n\nOf course, The results of the inspection will also be stored in the **`api-inspect`** directory：\n\n\u003cimg src=\"https://raw.githubusercontent.com/Sunzxyong/ImageRepository/master/apiinspect_result.jpg\" width=\"500\"/\u003e\n\n## **Support**\n\n\u003e **Support Gradle Plugin Version： \u003e=2.3.3**\n\n## **Version**\nVersion control supports the semantic 2.0 protocol\n\n* **1.0.0：First version, support api compatibility inspect.**\n* **1.1.0：Optimization logic.**\n* **1.2.0：Optimization of the library plugin.**\n\n## **About**\n* **Blog**：[https://zhengxiaoyong.com](https://zhengxiaoyong.com)\n* **Wechat**：\n\n![](https://raw.githubusercontent.com/Sunzxyong/ImageRepository/master/qrcode.jpg)\n\n\n\n## **License**\n\n\u003e\n\u003e     Apache License\n\u003e\n\u003e     Version 2.0, January 2004\n\u003e     http://www.apache.org/licenses/\n\u003e\n\u003e     Copyright 2018 郑晓勇\n\u003e\n\u003e  Licensed under the Apache License, Version 2.0 (the \"License\");\n\u003e  you may not use this file except in compliance with the License.\n\u003e  You may obtain a copy of the License at\n\u003e\n\u003e      http://www.apache.org/licenses/LICENSE-2.0\n\u003e\n\u003e  Unless required by applicable law or agreed to in writing, software\n\u003e  distributed under the License is distributed on an \"AS IS\" BASIS,\n\u003e  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\u003e  See the License for the specific language governing permissions and\n\u003e  limitations under the License.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunzxyong%2Fapiinspect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunzxyong%2Fapiinspect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunzxyong%2Fapiinspect/lists"}