From 559a5d0508b3d8a086cf1136fbd9c8b793e93382 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Sun, 4 May 2014 18:56:41 +0200 Subject: [PATCH] update android support library no idea why gradle cannot find build-tools 19.0.3.. --- vtm-android-example/build.gradle | 8 ++++---- vtm-android-start/build.gradle | 6 ++++-- vtm-android/build.gradle | 10 +++++----- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/vtm-android-example/build.gradle b/vtm-android-example/build.gradle index b77ab2f1..32f0c3bb 100644 --- a/vtm-android-example/build.gradle +++ b/vtm-android-example/build.gradle @@ -7,6 +7,10 @@ buildscript { } } +repositories { + maven { url "${System.env.ANDROID_HOME}/extras/android/m2repository" } +} + apply plugin: 'android' dependencies { @@ -45,10 +49,6 @@ android { // Including configurations into Eclipse -eclipse.jdt { - sourceCompatibility = 1.6 - targetCompatibility = 1.6 -} // Configuring Eclipse classpath eclipse.classpath { diff --git a/vtm-android-start/build.gradle b/vtm-android-start/build.gradle index e2859baf..ae3876cc 100644 --- a/vtm-android-start/build.gradle +++ b/vtm-android-start/build.gradle @@ -7,6 +7,10 @@ buildscript { } } +repositories { + maven { url "${System.env.ANDROID_HOME}/extras/android/m2repository" } +} + apply plugin: 'android' dependencies { @@ -37,8 +41,6 @@ android { // Including configurations into Eclipse eclipse { - sourceCompatibility = 1.6 - targetCompatibility = 1.6 // Configuring Eclipse classpath classpath { diff --git a/vtm-android/build.gradle b/vtm-android/build.gradle index 4e3b83f6..dbece501 100644 --- a/vtm-android/build.gradle +++ b/vtm-android/build.gradle @@ -13,11 +13,15 @@ buildscript { apply plugin: 'android-library' apply plugin: 'android-maven' +repositories { + maven { url "${System.env.ANDROID_HOME}/extras/android/m2repository" } +} + dependencies { //compile 'org.oscim:vtm:0.5.9-SNAPSHOT' compile project(':vtm') - compile 'com.android.support:support-v4:19.0.1' + compile 'com.android.support:support-v4:19.1.0' // -> might be more efficient, but configuring // log-levels is way too complicated... @@ -83,10 +87,6 @@ eclipse { } } } - jdt { - sourceCompatibility = 1.6 - targetCompatibility = 1.6 - } project { natures = ['com.android.ide.eclipse.adt.AndroidNature', 'org.eclipse.jdt.core.javanature']