Circle CI + Android configuration tips
8 ideas to improve your Circle CI configuration on android projects 1. Define executors for each resource class Sometimes you need to quickly change the resource class you use on your job’s executor. For example, you could need to do that to measure the performance impact or because you need more memory/CPU. You can simplify those changes by defining one executor per resource class. Each executor could have for example custom GRADLE_OPTS defined. references: android_config : &android_config working_directory : "/path" docker : - image : circleci/android:api-30 executors : android_executor_small: << : *android_config resource_class : small GRADLE_OPTS : -Dorg.gradle.jvmargs="-Xmx2g -XX:MaxPermSize=2g" android_executor_medium: << : *android_config resource_class : medium GRADLE_OPTS : -Dorg.gradle.jvmargs="-Xmx4g -XX:MaxPermSize=4g" android_executor_medium_plus: << : *android_config