简体   繁体   English

摇篮组装特定的味道并建立

[英]Gradle assemble specific flavor and build

Running ./gradlew tasks shows options to assemble all builds for a particular flavor, or all flavors for a particular build. 运行./gradlew tasks显示了针对特定版本组装所有版本或针对特定版本组装所有版本的选项。 Does there exist an option to assemble for a specific flavor and build combination? 是否存在针对特定口味进行组装并组合的选项?

Yes - you're referring to a specific build variant 是的-您指的是特定的构建版本

./gradlew assembleFlavoraBuildb

Where your flavor is called flavora and your build is buildb 您的风味称为flavora而您的构建称为buildb

Read more here: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Building-and-Tasks 在此处阅读更多信息: http : //tools.android.com/tech-docs/new-build-system/user-guide#TOC-Building-and-Tasks

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM