Kaynağa Gözat

remove android-lib submodule and use jitpack and gradle dependencies instead

Andy Scherzinger 8 yıl önce
ebeveyn
işleme
250c917fde
2 değiştirilmiş dosya ile 4 ekleme ve 6 silme
  1. 0 4
      .gitmodules
  2. 4 2
      build.gradle

+ 0 - 4
.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

+ 4 - 2
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'