-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathlinux_android.yml
18 lines (18 loc) · 950 Bytes
/
linux_android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
parameters:
gradle_options:
description: Gradle command options. Note that setting this will override the default options so you might need to supply those as well.
type: string
default: '-Xmx2014m -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-XX:+UnlockExperimentalVMOptions -XX:+HeapDumpOnOutOfMemoryError"'
build_image_version:
description: React Native Android build image version. For available veresions, see https://hub.docker.com/r/reactnativecommunity/react-native-android/tags
type: string
default: '5.1'
resource_class:
description: You can use whatever resource class your plan has access to. See https://circleci.com/docs/configuration-reference/#resourceclass
type: string
default: medium
docker:
- image: reactnativecommunity/react-native-android:<<parameters.build_image_version>>
resource_class: <<parameters.resource_class>>
environment:
- GRADLE_OPTS: <<parameters.gradle_options>>