diff --git a/build.gradle b/build.gradle index d85f8d9..3436450 100644 --- a/build.gradle +++ b/build.gradle @@ -6,6 +6,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.1.1' + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' } } diff --git a/library/build.gradle b/library/build.gradle index 9092940..4c6ffb6 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,6 +1,8 @@ import com.android.builder.core.BuilderConstants apply plugin: 'com.android.library' +apply plugin: 'com.github.dcendents.android-maven' + android { buildToolsVersion '27.0.3' compileSdkVersion 26 @@ -25,6 +27,6 @@ android.libraryVariants.all { variant -> task.from variant.javaCompile.destinationDir artifacts.add('archives', task); } -apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle' + dependencies { } \ No newline at end of file