Instantly share code, notes, and snippets.

Embed
What would you like to do?
CircleCI Android Configuration Template - circle.yml
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
@CrandellWS

This comment has been minimized.

Show comment
Hide comment
@benhaxe

This comment has been minimized.

Show comment
Hide comment
@benhaxe

benhaxe Apr 11, 2018

What will the windows version own look like

benhaxe commented Apr 11, 2018

What will the windows version own look like

@benhaxe

This comment has been minimized.

Show comment
Hide comment
@benhaxe

benhaxe Apr 11, 2018

What windows code look like

benhaxe commented Apr 11, 2018

What windows code look like

@dazza5000

This comment has been minimized.

Show comment
Hide comment
@dazza5000

dazza5000 Jun 23, 2018

You will probably need to update the directory structure to use windows paths.

Owner

dazza5000 commented Jun 23, 2018

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