Last active
June 23, 2018 15:02
-
-
Save dazza5000/0a807de012c7281f14787cf30bf7be0e to your computer and use it in GitHub Desktop.
CircleCI Android Configuration Template - circle.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
working_directory: ~/code | |
docker: | |
- image: circleci/android:api-27-alpha | |
environment: | |
JVM_OPTS: -Xmx3200m | |
steps: | |
- checkout | |
- restore_cache: | |
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} | |
- run: | |
name: Download Dependencies | |
command: | | |
sudo chmod +x gradlew | |
./gradlew androidDependencies | |
- save_cache: | |
paths: | |
- ~/.gradle | |
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} | |
- run: | |
name: Build Debug | |
command: ./gradlew assembleProdDebug | |
- store_artifacts: | |
path: app/build/outputs/apk/prod/debug/app-prod-debug.apk | |
destination: app-prod-debug.apk | |
- run: | |
name: Uploading on Beta | |
command: ./gradlew crashlyticsUploadDistributionProdDebug |
What windows code look like
You will probably need to update the directory structure to use windows paths.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What will the windows version own look like