language: android

sudo: false

jdk: oraclejdk8

android:
  components:
    - android-23
    - tools
    - build-tools-23.0.3
    - extra

script:
  - ./gradlew -s -PdisablePreDex clean build

env:
  - GRADLE_OPTS="-Xmx1024m -XX:MaxPermSize=1024m"

cache:
  directories:
    - $HOME/.gradle/caches/2.13
    - $HOME/.gradle/caches/jars-1
    - $HOME/.gradle/daemon
    - $HOME/.gradle/native
    - $HOME/.gradle/wrapper
language: android

sudo: false

jdk: oraclejdk8

android:
  components:
    - android-23
    - tools
    - build-tools-23.0.3
    - extra

script:
  - ./gradlew -s -PdisablePreDex clean build

env:
  global:
    - GRADLE_OPTS="-Xmx4g"

cache:
  directories:
    - $HOME/.gradle/caches/2.13
    - $HOME/.gradle/caches/jars-1
    - $HOME/.gradle/daemon
    - $HOME/.gradle/native
    - $HOME/.gradle/wrapper
Remove MaxPermSize from gradle opts
Remove MaxPermSize from gradle opts

Fix warning: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0. Xmx was increased to use gradle daemon
