在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):didi/booster开源软件地址(OpenSource Url):https://github.com/didi/booster开源编程语言(OpenSource Language):Kotlin 78.5%开源软件介绍(OpenSource Introduction):Overview | 概览Booster is an easy-to-use, lightweight, powerful and extensible quality optimization toolkit designed specially for mobile applications. The primary goal is to solve quality problems with the increase of APP complexity, such as performance, stability, and package size, etc. Booster provides a collection of modules for performance detection, multithreading optimization, resources index inline, redundant resources reduction, resources compression, system bug fixing, etc. Using booster, the stability of application can be increased by 15% ~ 25%, and the package size can be reduced by 1MB ~ 10MB.
What can Booster be used for? | Booster 能做什么?
Prerequisite | 先决条件
The following table lists which version of Gradle is required for each version of the Android Gradle plugin. For the best performance, please use the latest possible version of both Gradle and the plugin.
Best Practise | 最佳实践The best practise of using Booster is integrating the specific module to solve the problems you have encountered as following:
buildscript {
ext.booster_version = '4.13.0'
repositories {
google()
mavenCentral()
// OPTIONAL If you want to use SNAPSHOT version, sonatype repository is required.
maven { url 'https://oss.sonatype.org/content/repositories/public' }
}
dependencies {
classpath "com.didiglobal.booster:booster-gradle-plugin:$booster_version" // ①
// ② figure out the features you really need, then choose the right module for integration
// ② 弄清楚真正需要的特性,然后从下面的模块列表中选择正确的模块进行集成
}
}
allprojects {
repositories {
google()
mavenCentral()
// OPTIONAL If you want to use SNAPSHOT version, sonatype repository is required.
maven { url 'https://oss.sonatype.org/content/repositories/public' }
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.didiglobal.booster' // ③ Then using the following command in terminal to check if Booster enabled
./gradlew assembleDebug --dry-run If transformClassesWithBoosterForDebug can be found in the output, it means Booster is enabled. Congratulations! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论