Commit 2c9e5cc1 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Update compileSdk, targetSdk and built-tools/support to 27 and 27.0.0...

Update compileSdk, targetSdk and built-tools/support to 27 and 27.0.0 respectively; also updated circleci configuration
parent b9debb72
......@@ -7,10 +7,15 @@
machine:
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx1536m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError"'
GRADLE_OPTS: '-Xmx1024m -Dorg.gradle.jvmargs="-Xmx1024m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError"'
JAVA_OPTS: "-Xms518m -Xmx1024m"
dependencies:
pre:
- sudo service mysql stop; sleep 5
- sudo service mongod stop; sleep 5
- sudo killall postgres; sleep 5
- git fetch --tags
- echo "sdk.dir="$ANDROID_HOME > local.properties
......@@ -23,13 +28,13 @@ dependencies:
- echo $API_KEY_STRINGS_BASE64 | base64 --decode > app/src/release/res/values/api_key_strings.xml
- echo y | android update sdk --no-ui --all --filter tools,platform-tools
- echo y | android update sdk --no-ui --all --filter android-26
- echo y | android update sdk --no-ui --all --filter android-27
- echo y | android update sdk --no-ui --all --filter extra-android-m2repository,extra-android-support
- echo y | android update sdk --no-ui --all --filter extra-google-m2repository,extra-google-google_play_services
- echo y | android update sdk --no-ui --all --filter build-tools-26.0.0
- echo y | android update sdk --no-ui --all --filter build-tools-27.0.0
cache_directories:
- /usr/local/android-sdk-linux/tools
- /usr/local/android-sdk-linux/build-tools/26.0.0
- /usr/local/android-sdk-linux/build-tools/27.0.0
test:
override:
......
......@@ -3,12 +3,13 @@ import org.gradle.internal.jvm.Jvm
ext {
versions = [
java : JavaVersion.VERSION_1_8,
compileSdk : 26,
targetSdk : 26,
buildTools : '26.0.1',
compileSdk : 27,
targetSdk : 27,
buildTools : '27.0.0',
kotlin : '1.1.51',
// Main dependencies
support : '26.1.0',
support : '27.0.0',
constraintLayout : '1.0.2',
autoValue : '1.3',
moshi : '1.5.0',
......
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