From 250c917fde4d2ba0f2b63a16576b8d2aecdcdc63 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Tue, 7 Jun 2016 14:02:36 +0200 Subject: [PATCH] remove android-lib submodule and use jitpack and gradle dependencies instead --- .gitmodules | 4 ---- build.gradle | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitmodules b/.gitmodules index 23a3e9e869..3b24221882 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,7 +2,3 @@ path = user_manual/ocdoc url = https://github.com/owncloud/documentation branch = master -[submodule "nextcloud-android-library"] - path = nextcloud-android-library - url = https://github.com/nextcloud/android-library.git - branch = master diff --git a/build.gradle b/build.gradle index 9bda6ffc0b..205b8c52af 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,8 @@ ext { repositories { mavenCentral() - + maven { url "https://jitpack.io" } + flatDir { dirs 'libs' } @@ -31,7 +32,8 @@ repositories { dependencies { /// dependencies for app building compile name: 'touch-image-view' - compile project(':nextcloud-android-library') + + compile 'com.github.owncloud:android-library:-SNAPSHOT' compile "com.android.support:support-v4:${supportLibraryVersion}" compile "com.android.support:design:${supportLibraryVersion}" compile 'com.jakewharton:disklrucache:2.0.2'