From 441f6cfe5b3753aa6c839ed335959172f2730893 Mon Sep 17 00:00:00 2001 From: zhouwei Date: Fri, 2 Jun 2017 15:28:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=88=B0jitpack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 3 ++- mzbanner/build.gradle | 2 ++ readme.md | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 1ea4bd0..9264e3b 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:2.3.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 } @@ -15,6 +15,7 @@ buildscript { allprojects { repositories { jcenter() + maven {url "https://jitpack.io"} } } diff --git a/mzbanner/build.gradle b/mzbanner/build.gradle index 04222cc..68c758f 100644 --- a/mzbanner/build.gradle +++ b/mzbanner/build.gradle @@ -1,4 +1,6 @@ apply plugin: 'com.android.library' +apply plugin: 'com.github.dcendents.android-maven' +group='com.github.pinguo-zhouwei' android { compileSdkVersion 25 diff --git a/readme.md b/readme.md index 436ce65..d92576d 100644 --- a/readme.md +++ b/readme.md @@ -44,6 +44,7 @@ app:canLoop="false" ``` **使用方法:** + 1 . xml 布局文件 ```java