From 00ff342e867e944c5cfcc65c33e95aa9890f3980 Mon Sep 17 00:00:00 2001 From: Chuck Greb Date: Thu, 13 Feb 2014 14:18:07 -0500 Subject: [PATCH] Updates build.gradle for maven compatibility. * Explicitly set support library version 19.0.1. * Include slf4j-android dependency from maven central instead of local jar. * Adds local.properties to .gitignore --- .gitignore | 2 ++ vtm-android/build.gradle | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 83246265..2f2206b5 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ build/ .gradle .idea *.iml +local.properties + diff --git a/vtm-android/build.gradle b/vtm-android/build.gradle index c22dc295..e1f4fb1d 100644 --- a/vtm-android/build.gradle +++ b/vtm-android/build.gradle @@ -1,13 +1,11 @@ - apply plugin: 'android-library' apply plugin: 'android-maven' - dependencies { - compile fileTree(dir: '../vtm-ext-libs/libs', include: 'slf4j-api-1.7.5.jar') compile fileTree(dir: "../vtm-ext-libs/vtm-android", include: 'native-libs-*.jar') compile project(':vtm') - compile 'com.android.support:support-v4:+' + compile 'com.android.support:support-v4:19.0.1' + compile 'org.slf4j:slf4j-android:1.7.6' } android {