From 6ca9964bf8df50abb3682bfca78a5d85435162bc Mon Sep 17 00:00:00 2001 From: JIKUN Date: Mon, 8 Jul 2019 17:35:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8A=E4=BC=A0jetpack?= =?UTF-8?q?=E7=9A=84buildGradle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 3 +++ movelibrary/build.gradle | 2 ++ 2 files changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index f14aad4..4fb72d7 100644 --- a/build.gradle +++ b/build.gradle @@ -11,6 +11,7 @@ buildscript { // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' } } @@ -19,6 +20,8 @@ allprojects { google() jcenter() + maven { url 'https://jitpack.io' } + } } diff --git a/movelibrary/build.gradle b/movelibrary/build.gradle index 683c568..dbacf20 100644 --- a/movelibrary/build.gradle +++ b/movelibrary/build.gradle @@ -1,5 +1,7 @@ apply plugin: 'com.android.library' +apply plugin: 'com.github.dcendents.android-maven' +group='com.github.jikun2008' android { compileSdkVersion rootProject.compileSdkVersion