Skip to content

Latest commit

 

History

History
 
 

booster-transform-lint

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

booster-transform-lint

This module is used for potential performance issues detecting.

Lint Reports

The dot format reports is located at build/reports/${variant}/booster-transform-lint/, you can convert the dot files to PNGs by using the following command:

find build/reports -name '*.dot' | xargs -I{} dot -O -Tpng {}

Here is an example generated by dot:

com.didiglobal.booster.demo.MainActivity

Properties

The following table shows the properties that transformer supports:

Property Description Example
booster.transform.lint.apis URI of API list(Using built-in API list by default) file://Users/booster/lint-apis.txt
booster.transform.lint.ignores comma separated wildcard patterns to ignore android/*,androidx/*

The properties can be passthrough the command line as following:

./gradlew assembleDebug -Pbooster.transform.lint.ignores=android/*,androidx/*

or configured in the gradle.properties:

booster.transform.lint.ignores=android/*,androidx/*