Skip to content

fgw528471/booster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Booster

GitHub Travis (.org) GitHub contributors

Booster is an easy-to-use, lightweight, powerful and extensible optimization toolkit designed specially for mobile applications. Using the dynamic discovering and loading mechanism, booster provides the ability for customizing.

Prerequisite

  • Gradle version 4.1+
  • Android Gradle Plugin version 3.0+

Getting Started

The plugin can be added to the buildscript classpath and applied:

buildscript {
    ext.booster_version = '0.1.0'
    repositories {
        google()
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath "com.didiglobal.booster:booster-gradle-plugin:$booster_version"
        classpath "com.didiglobal.booster:booster-task-all:$booster_version"
        classpath "com.didiglobal.booster:booster-transform-all:$booster_version"
    }
}

apply plugin: 'com.android.application'
apply plugin: 'com.didiglobal.booster'

Booster is a modularized project, and the optimizer consist of gradle plugin and a dozen of transformers. This means, at least one transformer must be explicitly depended to have the desired effect. Conveniently, the booster-transform-all module can be depended to enable all optimization options.

In addition, Booster provides a collection of Gradle Task to help developers be more efficient. Conveniently, the booster-task-all module can be depended to enable all tasks.

Then build an optimized package by executing the assemble task:

$ ./gradlew assembleRelease

Contributing

Welcome to contribute by creating issues or sending pull requests. See Contributing Guideline

License

Booster is licensed under the Apache License 2.0.

About

🚀Optimizer for mobile applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 75.1%
  • Java 24.6%
  • JavaScript 0.3%