Search code examples
androidgradleandroid-gradle-pluginbitrise

Difference between assemble vs assembleDebug vs assembleRelease


I am trying to learn bitrise platform. As of now I don't know what exactly a use of this platform also. Anyways while I was doing setup and it is asking for to select gradle-task to run.

Does anyone know what is the difference between assemble vs assembleDebug vs assembleRelease ?

Did anyone get a chance to try this platform ever in the mobile application ?

enter image description here


Solution

  • An Android project has at least two outputs: a debug APK and a release APK. Each of these has its own anchor task to facilitate building them separately:

    1. assemble
    2. assembleDebug
    3. assembleRelease

    They both depend on other tasks that execute the multiple steps needed to build an APK. The assemble task depends on both, so calling it will build both APKs.

    http://tools.android.com/tech-docs/new-build-system/user-guide