From 7e3fdf65672e96633a4c45abf684bada8e317adb Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 23 Nov 2014 23:06:01 -0500 Subject: [PATCH] Rely on SDK manager plugin instead of Travis --- .travis.yml | 6 ------ app/build.gradle | 9 ++++++--- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index b298ec8..4be7cf3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/app/build.gradle b/app/build.gradle index f8ca179..51a0f26 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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:+'