All Projects → Sunzxyong → Apiinspect

Sunzxyong / Apiinspect

Licence: apache-2.0
An api compatibility inspect gradle plugin.(一个Api兼容性检测的Gradle插件)

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to Apiinspect

Purescript Graphql
End to End typesafe GraphQL with PureScript
Stars: ✭ 79 (-5.95%)
Mutual labels:  api
Android
Android projects with reusable components which will be useful in your applications.
Stars: ✭ 81 (-3.57%)
Mutual labels:  api
Bucket api
API for the bucket list
Stars: ✭ 83 (-1.19%)
Mutual labels:  api
Mygene.info
MyGene.info: A BioThings API for gene annotations
Stars: ✭ 79 (-5.95%)
Mutual labels:  api
Hydrogen
🎈 Hydrogen. Voted (by me) the world's lightest static-site generator built with TypeScript ❤ It uses 🔥 lit-html inspired templating for super duper performant template generation.
Stars: ✭ 80 (-4.76%)
Mutual labels:  api
Drf Autodocs
Ultimately automated DRF documentation rendering(UNMAINTAINED)
Stars: ✭ 82 (-2.38%)
Mutual labels:  api
Apis
This Repository contains link to many Open or Closed Source APIs which I've made
Stars: ✭ 79 (-5.95%)
Mutual labels:  api
Projectartemis
An analytic tool for GraphQL queries to external APIs with a Graphical User Interface to view performance metrics.
Stars: ✭ 84 (+0%)
Mutual labels:  api
Zhihu Oauth
尝试解析出知乎官方未开放的 OAuth2 接口,并提供优雅的使用方式,作为 zhihu-py3 项目的替代者,目前还在实验阶段
Stars: ✭ 1,237 (+1372.62%)
Mutual labels:  api
Google Searchconsole
A wrapper for the Google Search Console API.
Stars: ✭ 83 (-1.19%)
Mutual labels:  api
Gradle Android Apk Size Plugin
Gradle plugin that generates CSV files with apk size per output and variant of an apk
Stars: ✭ 79 (-5.95%)
Mutual labels:  gradle-plugin
Gotenberg Php Client
PHP client for the Gotenberg API
Stars: ✭ 80 (-4.76%)
Mutual labels:  api
Laravel Blog
Laravel 8.0 blog application with Vue.js, Homestead, Horizon, Telescope and Pusher
Stars: ✭ 1,248 (+1385.71%)
Mutual labels:  api
Aztro
The Astrology API 💫 Get daily horoscope!
Stars: ✭ 78 (-7.14%)
Mutual labels:  api
Express Version Route
A Node.js express middleware that implements API versioning for route controllers
Stars: ✭ 83 (-1.19%)
Mutual labels:  api
Libgui
Buttons & Co
Stars: ✭ 78 (-7.14%)
Mutual labels:  api
Openapi Viewer
Browse and test a REST API described with the OpenAPI 3.0 Specification
Stars: ✭ 82 (-2.38%)
Mutual labels:  api
Terraformize
Apply\Destory Terraform modules via a simple REST API endpoint.
Stars: ✭ 84 (+0%)
Mutual labels:  api
Gradle Site Plugin
Documents Gradle tasks and plugins registered by your Gradle project
Stars: ✭ 83 (-1.19%)
Mutual labels:  gradle-plugin
Showdoc
ShowDoc is a tool greatly applicable for an IT team to share documents online一个非常适合IT团队的在线API文档、技术文档工具
Stars: ✭ 10,099 (+11922.62%)
Mutual labels:  api

ApiInspect

An api compatibility inspect gradle plugin.(一个Api兼容性检测的Gradle插件)


Download Travis Hex.pm

Introduce

Usage

Installation

Add dependencies in build.gradle of the root project

    dependencies {
        // ...
        classpath('com.zxy.android.plugin:api-inspect:1.2.0') {
            exclude group: 'com.android.tools.build', module: 'gradle'
        }
    }

and add the apply plugin to build.gradle in the module:

apply plugin: 'api.inspect'

Configuration

By default, ApiInspect will inspects all apis but does not contain the system api. Of course, you can also customize exclude or include Settings:

apiInspect {

    enable true //Whether api inspect is enabled.

    inspectSystemApi false //Whether to inspect the system api.

    //Specify the library to inspect.
//    include {
//        //Value is the package name.
//        api "com.zxy.tiny"
//    }

    //Specify the library not to inspect.
//    exclude {
//        //Value is the package name.
//        api 'com.zxy.tiny'
//        api 'com.google.zxing'
//    }

}

Inspect Result

When the Apk build is completed. The results of the inspection will be printed on the console:

Of course, The results of the inspection will also be stored in the api-inspect directory:

Support

Support Gradle Plugin Version: >=2.3.3

Version

Version control supports the semantic 2.0 protocol

  • 1.0.0:First version, support api compatibility inspect.
  • 1.1.0:Optimization logic.
  • 1.2.0:Optimization of the library plugin.

About

License

Apache License

Version 2.0, January 2004
http://www.apache.org/licenses/

Copyright 2018 郑晓勇

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].