From 89f6175b83e1dd952211b970374582e8db247295 Mon Sep 17 00:00:00 2001 From: Stephen Vinouze Date: Fri, 14 Jan 2022 14:44:33 +0100 Subject: [PATCH] Prepare for upload to JitPack --- segmentedprogressbar/build.gradle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/segmentedprogressbar/build.gradle b/segmentedprogressbar/build.gradle index 713d114..b9eb358 100644 --- a/segmentedprogressbar/build.gradle +++ b/segmentedprogressbar/build.gradle @@ -1,6 +1,7 @@ plugins { id 'com.android.library' id 'kotlin-android' + id 'maven-publish' } android { @@ -38,4 +39,18 @@ dependencies { implementation 'androidx.activity:activity-compose:1.4.0' testImplementation 'junit:junit:4.13.2' debugImplementation "androidx.compose.ui:ui-tooling:$compose_version" +} + +afterEvaluate { + publishing { + publications { + release(MavenPublication) { + from components.release + + groupId = 'com.stephenvinouze' + artifactId = 'segmented-progressbar' + version = '1.0.0' + } + } + } } \ No newline at end of file