{"_id":"590a04f6ed80861900cbc794","parentDoc":null,"__v":0,"project":"55b2d5baa74a380d00e290c4","category":{"_id":"590a04f3ed80861900cbc73c","__v":0,"version":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-01-11T21:56:19.274Z","from_sync":false,"order":4,"slug":"android-quickstart","title":"Android Quickstart"},"user":"55b2d5626862a10d00887af9","version":{"_id":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","__v":4,"createdAt":"2017-05-03T16:27:30.085Z","releaseDate":"2017-05-03T16:27:30.085Z","categories":["590a04f3ed80861900cbc738","590a04f3ed80861900cbc739","590a04f3ed80861900cbc73a","590a04f3ed80861900cbc73b","590a04f3ed80861900cbc73c","590a04f3ed80861900cbc73d","590a04f3ed80861900cbc73e","590a04f3ed80861900cbc73f","590a04f3ed80861900cbc740","590a04f3ed80861900cbc741","590a04f3ed80861900cbc742","590a04f3ed80861900cbc743","590a04f3ed80861900cbc744","590a04f3ed80861900cbc745","590a04f3ed80861900cbc746","590a04f3ed80861900cbc747","590a04f3ed80861900cbc748","590a04f3ed80861900cbc749","590a04f3ed80861900cbc74a","590a04f3ed80861900cbc74b","590a04f3ed80861900cbc74c","590a04f3ed80861900cbc74d","59124949de13f61900336a7a","5914b04e7c2c552d008b7104","5914b47242c6a22300b9dc20"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"7.0.0","version":"7"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-09-01T18:02:27.682Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":5,"body":"[block:api-header]\n{\n  \"title\": \"Choose the variants to build\"\n}\n[/block]\nBuddybuild allows you to select default variants to build. \n\nFirst click on **App Settings**, then select the **Variants** tab.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/302f7e9-Settings_-_Variants_-_tab.png\",\n        \"Settings - Variants - tab.png\",\n        1500,\n        427,\n        \"#e5eced\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nNext, select the variants you would like to build by default.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/3e4ad1b-Settings_-_Variants_-_Select.png\",\n        \"Settings - Variants -  Select.png\",\n        1500,\n        555,\n        \"#d8dfe1\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"Choose the variants to build for a specific branch\"\n}\n[/block]\nYou can also select variants to build for a specific branch by creating a **branch-specific override**.\n\nFirst, click **Add new branch**, then select the branch you would like to override.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/4e053ce-Settings_-_Variants_-_Branch-specific-1.png\",\n        \"Settings - Variants - Branch-specific-1.png\",\n        1500,\n        555,\n        \"#d4dde2\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nNext, select **Variants** from the dropdown.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/d214dc9-Settings_-_Variants_-_Branch-specific-2.png\",\n        \"Settings - Variants - Branch-specific-2.png\",\n        1500,\n        555,\n        \"#d6d8d9\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nYou can now select the variants you would like to build for your selected branch.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/330b797-Settings_-_Variants_-_Branch-specific-3.png\",\n        \"Settings - Variants - Branch-specific-3.png\",\n        1500,\n        555,\n        \"#138fd5\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Product Flavors\",\n  \"body\": \"If your project has Product Flavors, buddybuild will display them in the variants section. In the case of the screenshots above, **\\\"production\\\"** and **\\\"staging\\\"** are the product's Flavors\"\n}\n[/block]","excerpt":"","slug":"build-variants","type":"basic","title":"Build Variants"}
[block:api-header] { "title": "Choose the variants to build" } [/block] Buddybuild allows you to select default variants to build. First click on **App Settings**, then select the **Variants** tab. [block:image] { "images": [ { "image": [ "https://files.readme.io/302f7e9-Settings_-_Variants_-_tab.png", "Settings - Variants - tab.png", 1500, 427, "#e5eced" ], "sizing": "full" } ] } [/block] Next, select the variants you would like to build by default. [block:image] { "images": [ { "image": [ "https://files.readme.io/3e4ad1b-Settings_-_Variants_-_Select.png", "Settings - Variants - Select.png", 1500, 555, "#d8dfe1" ] } ] } [/block] [block:api-header] { "title": "Choose the variants to build for a specific branch" } [/block] You can also select variants to build for a specific branch by creating a **branch-specific override**. First, click **Add new branch**, then select the branch you would like to override. [block:image] { "images": [ { "image": [ "https://files.readme.io/4e053ce-Settings_-_Variants_-_Branch-specific-1.png", "Settings - Variants - Branch-specific-1.png", 1500, 555, "#d4dde2" ], "sizing": "full" } ] } [/block] Next, select **Variants** from the dropdown. [block:image] { "images": [ { "image": [ "https://files.readme.io/d214dc9-Settings_-_Variants_-_Branch-specific-2.png", "Settings - Variants - Branch-specific-2.png", 1500, 555, "#d6d8d9" ], "sizing": "full" } ] } [/block] You can now select the variants you would like to build for your selected branch. [block:image] { "images": [ { "image": [ "https://files.readme.io/330b797-Settings_-_Variants_-_Branch-specific-3.png", "Settings - Variants - Branch-specific-3.png", 1500, 555, "#138fd5" ], "sizing": "full" } ] } [/block] [block:callout] { "type": "info", "title": "Product Flavors", "body": "If your project has Product Flavors, buddybuild will display them in the variants section. In the case of the screenshots above, **\"production\"** and **\"staging\"** are the product's Flavors" } [/block]