Commit cfbb99bd authored by Leonardo Aramaki's avatar Leonardo Aramaki

Update docker images

parent 17a39597
version: 2 version: 2
build:
machine:
java: oraclejdk8
jobs: jobs:
build-kotlin-sdk: build-kotlin-sdk:
docker: docker:
- image: circleci/android:api-27-alpha - image: circleci/android:api-27-alpha
environment: environment:
JVM_OPTS: -Xmx3200m JAVA_TOOL_OPTIONS: -Xmx3200m
steps: steps:
- checkout - checkout
- run: - run:
...@@ -37,7 +40,10 @@ jobs: ...@@ -37,7 +40,10 @@ jobs:
- checkout - checkout
- run: - run:
name: ANDROID_HOME name: ANDROID_HOME
command: echo "sdk.dir="$ANDROID_HOME > local.properties command: echo "sdk.dir="$ANDROID_HOME > local.properties
- run:
name: Accept licenses
command: echo y | $ANDROID_HOME/tools/android update sdk --no-ui --all --filter build-tools-28.0.3,android-28
- run: - run:
name: checkout Rocket.Chat.Kotlin.SDK name: checkout Rocket.Chat.Kotlin.SDK
command: git clone https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK.git ../Rocket.Chat.Kotlin.SDK command: git clone https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK.git ../Rocket.Chat.Kotlin.SDK
...@@ -66,11 +72,17 @@ jobs: ...@@ -66,11 +72,17 @@ jobs:
destination: reports destination: reports
build-play-apk: build-play-apk:
docker: docker:
- image: circleci/android:api-27-alpha - image: circleci/android:api-28-alpha
environment: environment:
JVM_OPTS: -Xmx3200m JVM_OPTS: -Xmx3200m
steps: steps:
- checkout - checkout
- run:
name: ANDROID_HOME
command: echo "sdk.dir="$ANDROID_HOME > local.properties
- run:
name: Accept licenses
command: echo y | $ANDROID_HOME/tools/android update sdk --no-ui --all --filter build-tools-28.0.3,android-28
- run: - run:
name: restore files from ENV name: restore files from ENV
command: | command: |
...@@ -104,6 +116,12 @@ jobs: ...@@ -104,6 +116,12 @@ jobs:
JVM_OPTS: -Xmx3200m JVM_OPTS: -Xmx3200m
steps: steps:
- checkout - checkout
- run:
name: ANDROID_HOME
command: echo "sdk.dir="$ANDROID_HOME > local.properties
- run:
name: Accept licenses
command: echo y | $ANDROID_HOME/tools/android update sdk --no-ui --all --filter build-tools-28.0.3,android-28
- run: - run:
name: restore files from ENV name: restore files from ENV
command: | command: |
......
...@@ -10,7 +10,7 @@ buildscript { ...@@ -10,7 +10,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.2.1' classpath 'com.android.tools.build:gradle:3.4.0-alpha02'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokka}" classpath "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokka}"
classpath 'com.google.gms:google-services:4.0.2' classpath 'com.google.gms:google-services:4.0.2'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment