Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AndroidCoderTools/booster

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 58.0%
  • Java 42.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.