From 714e1ef3fef443b1a5fac6f2fd515acacac8df3c Mon Sep 17 00:00:00 2001 From: asayushg Date: Sat, 28 Aug 2021 21:34:40 +0530 Subject: [PATCH] release --- chart/build.gradle | 17 +++++++++++++++++ settings.gradle | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/chart/build.gradle b/chart/build.gradle index a6d788f..dccc906 100644 --- a/chart/build.gradle +++ b/chart/build.gradle @@ -4,6 +4,9 @@ plugins { id 'maven-publish' } +group = 'com.github.jitpack' +version = '1.0.1' + android { compileSdk 30 @@ -38,3 +41,17 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'com.google.android.material:material:1.4.0' } + +afterEvaluate { + publishing { + publications { + // Creates a Maven publication called "release". + release(MavenPublication) { + from components.release + groupId = 'com.github.jitpack' + artifactId = 'charts' + version = '1.0.1' + } + } + } +} \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 5a01e37..5e660d7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -4,7 +4,6 @@ dependencyResolutionManagement { google() mavenCentral() jcenter() // Warning: this repository is going to shut down soon - maven { url "https://jitpack.io" } } } rootProject.name = "ChartExample"