Skip to content

Commit 3f05262

Browse files
Updated Circle ci 2.0
1 parent d3c2c3d commit 3f05262

File tree

3 files changed

+34
-71
lines changed

3 files changed

+34
-71
lines changed

.circleci/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/code
5+
docker:
6+
- image: circleci/android:api-27-alpha
7+
environment:
8+
JVM_OPTS: -Xmx3200m
9+
steps:
10+
- checkout
11+
- restore_cache:
12+
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
13+
- run:
14+
name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
15+
command: sudo chmod +x ./gradlew
16+
- run:
17+
name: Download Dependencies
18+
command: ./gradlew androidDependencies
19+
- save_cache:
20+
paths:
21+
- ~/.gradle
22+
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
23+
- run:
24+
name: Run Build
25+
command: ./gradlew assembleDebug
26+
# - store_artifacts:
27+
# path: app/build/reports
28+
# destination: reports
29+
# - store_test_results:
30+
# path: app/build/test-results
31+
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ play {
139139

140140
def props = new Properties()
141141
if (System.getenv('CI') != 'true') {
142-
// props.load(new FileInputStream(rootProject.file("keys/release.properties")))
143-
//
144-
// android.signingConfigs.release.storeFile rootProject.file(props.keyStore)
142+
props.load(new FileInputStream(rootProject.file("keys/release.properties")))
143+
144+
android.signingConfigs.release.storeFile rootProject.file(props.keyStore)
145145
android.signingConfigs.release.storePassword props.keyStorePassword
146146
android.signingConfigs.release.keyAlias props.keyAlias
147147
android.signingConfigs.release.keyPassword props.keyAliasPassword

circle.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)