From 82d001a3712616e336851fa581fac239259f74c7 Mon Sep 17 00:00:00 2001
From: pencilso <admin@pencilso.cn>
Date: Fri, 10 Nov 2017 17:59:04 +0800
Subject: [PATCH] QVQ

---
 build.gradle           | 6 ++++--
 svglibary/build.gradle | 3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/build.gradle b/build.gradle
index c9fbb89..cd9591e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,10 +7,11 @@ buildscript {
             url 'https://maven.google.com/'
             name 'Google'
         }
+        maven { url "https://jitpack.io" }
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:2.3.2'
-
+        classpath 'com.android.tools.build:gradle:3.0.0'
+        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files
     }
@@ -23,6 +24,7 @@ allprojects {
             url 'https://maven.google.com/'
             name 'Google'
         }
+        maven { url "https://jitpack.io" }
     }
 }
 
diff --git a/svglibary/build.gradle b/svglibary/build.gradle
index 95a3075..c1802bd 100644
--- a/svglibary/build.gradle
+++ b/svglibary/build.gradle
@@ -1,5 +1,6 @@
 apply plugin: 'com.android.library'
-
+apply plugin: 'com.github.dcendents.android-maven'
+group='com.github.pencilso'	// 指定group,com.github.<用户名>
 android {
     compileSdkVersion 26
     buildToolsVersion "26.0.2"