language: android
jdk: oraclejdk8
before_script:
    - echo $GRADLE_PROPERTIES | base64 --decode > gradle.properties
    - mkdir "$HOME/licenses" || true
    - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$HOME/licenses/android-sdk-license"
    - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$HOME/licenses/android-sdk-preview-license"
    - ./gradlew dependencies

script: ./gradlew assembleDebug -PdisablePreDex
language: android
jdk: oraclejdk8
env:
  global:
    - ANDROID_HOME="/usr/local/android-sdk"
    
before_script:
    - echo $GRADLE_PROPERTIES | base64 --decode > gradle.properties
    - mkdir "$ANDROID_HOME/licenses" || true
    - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
    - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
    - ./gradlew dependencies

script: ./gradlew assembleDebug -PdisablePreDex

Remove extra component sdk calls (+3 squashed commit)
Remove extra component sdk calls (+3 squashed commit)

Squashed commit:

[1e7e214] Attempt to fix android sdk (+4 squashed commit)

Squashed commit:

[76ccfd2] Update .travis.yml

[0ca8131] Update .travis.yml

[b3e1458] Update .travis.yml

[c4c5be3] Try $HOME instead (+2 squashed commits)
Squashed commits:
[0440c59] Disable predex, imported gradle.properties and defined android home, so we can pre create licenses (+4 squashed commits)
Squashed commits:
[79dce45] Try JDK 8
[14176f6] Try to fix failing build by explicitly specifying jdk7
[873323f] Attempt to fix failing build
[20d4477] Fixed dependency causing failing build
[03413b0] Fix failing build

[b3e1458] Update .travis.yml

[c4c5be3] Try $HOME instead (+2 squashed commits)
Squashed commits:
[0440c59] Disable predex, imported gradle.properties and defined android home, so we can pre create licenses (+4 squashed commits)
Squashed commits:
[79dce45] Try JDK 8
[14176f6] Try to fix failing build by explicitly specifying jdk7
[873323f] Attempt to fix failing build
[20d4477] Fixed dependency causing failing build
[03413b0] Fix failing build
