Skip to content

Commit

Permalink
Fix Travis CI build
Browse files Browse the repository at this point in the history
* Fix crash due to wrong Java Version
* Removed License Acceptance Filter
* Update Build Tools 23.0.3, Gradle 2.2.2
* Fix build tools 24.0.1 not being accepted
  • Loading branch information
billbonney committed Dec 6, 2016
1 parent 8fcbdd6 commit 421efa9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
@@ -1,5 +1,6 @@
sudo: false
language: android
jdk: oraclejdk8

env:
global:
Expand All @@ -8,11 +9,13 @@ env:

android:
components:
- platform-tools
- tools
- tools
- platform-tools

# The BuildTools version used by your project
- build-tools-23.0.2
- build-tools-24.0.1
- build-tools-23.0.3

# The SDK version used to compile your project
- android-23
Expand All @@ -23,9 +26,6 @@ android:
- extra-android-m2repository
- extra-android-support

licenses:
- 'android-sdk-license-.+'

before_script:
- export GRADLE_OPTS="-XX:MaxPermSize=2048m -Xmx1536m"

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -5,7 +5,7 @@ buildscript {
play_services_version = '8.4.0'

android_build_sdk_version = 23
android_build_tools_version = '23.0.2'
android_build_tools_version = '23.0.3'
android_build_target_sdk_version = 22
android_build_min_sdk_version = 14
}
Expand All @@ -15,7 +15,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.android.tools.build:gradle:2.2.2'

//Dexcount gradle plugin
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.4.4'
Expand Down

0 comments on commit 421efa9

Please sign in to comment.