You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add more parameters to the android_build command. This allows us to be more explicit with our build variants and it terms will save minutes on circleCI by only specifying the build variantes that we really needs
fixesreact-native-community#33
Copy file name to clipboardExpand all lines: src/commands/android_build.yml
+16-4
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,24 @@
1
-
description: Builds the Android app at the given path with the given build types. This should be run only after installing dependencies.
1
+
description: Builds the Android app at the given path with the given build types. This should be run only after installing dependencies.
2
2
3
3
parameters:
4
4
project_path:
5
5
description: The path to the root of the Android project you want to build, relative to the root of the repository.
6
6
type: string
7
7
default: "./android"
8
-
build_type:
9
-
description: The build type to build. This is normally either "debug" or "release" but you may have custom build types configured for your app.
8
+
max_workers:
9
+
description: The number of workers to use for a build
10
+
type: integer
11
+
default: 2
12
+
assemble_build_type:
13
+
description: The build variant to build. This is normally either "assembleDebug" or "assembleRelease" but you may have custom build variants that you can specify here.
14
+
type: string
15
+
default: "assembleDebug"
16
+
assemble_test_type:
17
+
description: The test build varinat to build. This is normally "assembleAndroidTest" but you may have custom build variantes that you can specify here.
18
+
type: string
19
+
default: "assembleAndroidTest"
20
+
test_build_type:
21
+
description: The test build type to build. This is normally "debug" or "release".
0 commit comments