AtlasBuildTool

Compatible with: IntelliJ IDEA Android Studio
Nov 08, 2017
1 334
Main Function
  • Compile Mobile Taobao Android, Mobile Youku Android, Mobile Cainiao Android quickly. Less than a minute
  • Build dynamic deploy patches with one single click, And install these patches to you android phone
  • Create a Atlas project or Atlas Bundle

Download plugin

Recent change notes

2.0.5 Support Android Studio 3.0 2.0.4 User can specify sign file

General usage instructions

Usage 1.1 Create Atlas Project or Bundle Create Atlas Project

  1. File -> New -> Atlas Projects... -> Project.


  2. It looks like creating a Normal Android Project in first few steps.


  3. Then you will see the final step like this.

    图片名称



    1. Atlas Gradle Plugin : A Gradle Tool to build atlas project

    2. Atlas Core : Atlas Core runtime library

    3. Atlas Update : A Library make Atlas project can update through patches. (Optional)

    ​Go to Here to get the detail infomation of these three Lib


  4. Then Finish


  5. You will get a Android Project with all Atlas depdencies after Finish, And the app is the main dex


Create Atlas Bundle

You may need to add an Atlas bundle to your Atlas project after it is created.


So you can make a integrated experience of Atlas.


Create a bundle like this :



  1. File -> New -> Atlas Projects... -> Bundle.


  2. It looks like creating a Normal Android Bundle in first few steps.


  3. Then you will see the final step like this.

    图片名称

    Note that this step will be displayed only if this bundle is a Android library

    And First of all there is must a Main dex module in current project



    1. Main Dex : The Main Dex of this project.

    2. Bundle Property :

      1. autoStart : If this is selected, this bundle will be auto started after atlas turn alive

      2. outOfApk : It is means this bundle will be marked as a remote bundle. It is against with autoStart

      3. dataBinding : mark this bundle as a databinding bundle


    Details


1.2 Add Atlas to a exist project

  1. Tools -> Atlas -> Configure Atlas in Project

    configureAtlas


  2. And You will see something like this

    configureAtlasinProject


  3. Click Ok or you can select these lib's version before. Atlas's properties will be added into this project immediately.


1.3 Build Atlas dexPatches And install

First of all you should have some knowledge about dexPatch



  1. Add a Deploy Runconfiguration

    EditDeployConfiguration

    addAtlasDeployRunconfiguration


  2. Configure

    图片名称

    ①. MainDexModule: The MainDex Of this project
    ②. Deploy: Dynamic type, only DexPatch for now
    ③. apVersion : ap's version
    ④. versionName : dex patch's versionCode, The Main app's version will be this versionCode after it is updated successfully
    ⑤. Increase versionName automatically : it is means whether to increase the versionCode after the build action is done


  3. The click Run


1.4 Build Atlas dexPatches And install

This Function is only for Alibaba developers for the moment.


Make us know if you want to use this function



  1. Add a Run Runconfiguration

    addRunConfiguration

    addAtlasRunConfigureAdd


  2. Configure

    图片名称



    • Ap Address : Ap's Download.

    • Selected App : The fast build app. Mobile Taobao Android,Mobile Taobao Youku, Mobile Taobao Cainiao are supported. Make us know if you want to use this function

    • Build Type : Apk or Dynamic

    • Build Modules : The Modules can be build to selected app. one module should be selected at least.

    • Source | Coordinate : Two ways of building project. It is like compile project And compile coordinate in gradle.

    • **Selected : ** Only the selected module will be build to the final artifact Apk or Patches

    • **Transitive : ** Gradle's transitive property, Detail

    • Custom Modules : You Can add another coordinate dependency here. this lib will be build into the final artifact Apk or Patches


  3. Then click run to enjoy it