From 3c1f600ab130a0c9a18d06713d93c38e7bf6e8cc Mon Sep 17 00:00:00 2001 From: Marco Mirisola Date: Mon, 16 Apr 2018 14:23:35 +0200 Subject: [PATCH] jitpack configuration --- build.gradle | 1 + library/build.gradle | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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