What are the differences between gradle assemble and gradle build tasks?

前端 未结 5 1075
谎友^
谎友^ 2020-12-13 23:08

If I am not wrong gradle assemble does run gradle assembleDebug and gradle assembleRelease, but I believe gradle build al

5条回答
  •  星月不相逢
    2020-12-13 23:42

    From gradle tasks --all:

    Build tasks
    -----------
    assemble - Assembles the outputs of this project.
    build - Assembles and tests this project.
    

    build is effectively assemble + check (and check is test + any linting tasks).

提交回复
热议问题