Jonny
Jonny

Reputation: 306

android gradle exclude specific buildType from command line

In my build.gradle file i've created three build types debug relese and internal. I'm running "gradlew assemble" from the command line. i want to have the option not to build my 'internal' buildType. How can i do that ?

Upvotes: 0

Views: 425

Answers (1)

Yashdeep Patel
Yashdeep Patel

Reputation: 3140

You can use following command:

assemble{BuildType}

in your case

gradlew assembleInternal

Will Help. It will trigger build with Buildtype Internal.

More info: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Types

Upvotes: 1

Related Questions