From fe130fbc68f11be96d2805524a7e88a86e89a60d Mon Sep 17 00:00:00 2001 From: Mark Salpeter Date: Fri, 6 Apr 2018 10:52:52 +0300 Subject: [PATCH] added android-maven plugin to restore jitpack support --- .idea/caches/build_file_checksums.ser | Bin 539 -> 539 bytes build.gradle | 21 +++------------------ fragment/build.gradle | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 8c2d75e3492c9df5906efd962cedef7e9fc99a17..729d7d3a1eb468fc14822e755057a45ededc7f1a 100644 GIT binary patch delta 56 zcmV-80LTBE1e*kqm;{;e8~u@-pAhvyC@sTuD9nzo)^^)lk|&c(0g({qs}N1^irX9@ O@1?&bYhj_2>;W(I+#09= delta 56 zcmV-80LTBE1e*kqm;{IcceIh5pAbGcWdMgMrBM%walucs`N>;W%u))vVC diff --git a/build.gradle b/build.gradle index 153a2c8..43035a6 100644 --- a/build.gradle +++ b/build.gradle @@ -1,24 +1,9 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. - buildscript { repositories { - jcenter() - google() + mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.0' - - // 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.0' } -} - -allprojects { - repositories { - jcenter() - } -} - -task clean(type: Delete) { - delete rootProject.buildDir -} +} \ No newline at end of file diff --git a/fragment/build.gradle b/fragment/build.gradle index 0b846aa..11e952b 100644 --- a/fragment/build.gradle +++ b/fragment/build.gradle @@ -1,4 +1,23 @@ apply plugin: 'com.android.library' +apply plugin: 'com.github.dcendents.android-maven' +group='com.github.marksalpeter' + +buildscript { + repositories { + jcenter() + google() + } + dependencies { + classpath 'com.android.tools.build:gradle:3.1.0' + } +} + +allprojects { + repositories { + jcenter() + google() + } +} android { compileSdkVersion 25