摇篮组装特定的味道并建立 [英] Gradle assemble specific flavor and build

查看:131
本文介绍了摇篮组装特定的味道并建立的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行 ./gradlew任务显示了针对特定版本组装所有版本或针对特定版本组装所有版本的选项.是否存在针对特定口味进行组装并建立组合的选项?

Running ./gradlew tasks shows options to assemble all builds for a particular flavor, or all flavors for a particular build. 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

您的口味称为 flavora ,而内部版本为 buildb

Where your flavor is called flavora and your build is buildb

在此处了解更多信息: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Building-and-Tasks

Read more here: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Building-and-Tasks

这篇关于摇篮组装特定的味道并建立的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆