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