Rely on SDK manager plugin instead of Travis

This commit is contained in:
Bradlee Speice 2014-11-23 23:06:01 -05:00
parent 4ecc9dd1fb
commit 7e3fdf6567
2 changed files with 6 additions and 9 deletions

View File

@ -1,11 +1,5 @@
# We still need android to get the build tools/support libraries
language: android
android:
components:
- build-tools-21.1.1
- android-21
- extra-android-support
- extra-google-m2repository
script:
- ./gradlew test

View File

@ -2,8 +2,12 @@ buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
}
}
apply plugin: 'android-sdk-manager'
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
@ -40,9 +44,8 @@ dependencies {
compile 'com.squareup.dagger:dagger:+'
provided 'com.squareup.dagger:dagger-compiler:+'
// TODO: Figure out why I need to force 2.1.0 and can't just use +
compile 'de.devland.esperandro:esperandro-api:2.1.0'
provided 'de.devland.esperandro:esperandro:2.1.0'
compile 'de.devland.esperandro:esperandro-api:+'
provided 'de.devland.esperandro:esperandro:+'
compile 'com.jakewharton:butterknife:+'
compile 'com.readystatesoftware.systembartint:systembartint:+'