From c48f017483aa732cc75ac456f80825ad8adb0234 Mon Sep 17 00:00:00 2001 From: Amar Jain Date: Thu, 30 Dec 2021 23:03:44 +0530 Subject: [PATCH] Publish scripts --- library/build.gradle | 2 +- library/publish.gradle | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 library/publish.gradle diff --git a/library/build.gradle b/library/build.gradle index 9b3437d..9a637d7 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,8 +1,8 @@ plugins { id 'com.android.library' id 'kotlin-android' - id 'maven-publish' } +apply from: 'publish.gradle' android { compileSdkVersion compileVersionSdk diff --git a/library/publish.gradle b/library/publish.gradle new file mode 100644 index 0000000..d52eedd --- /dev/null +++ b/library/publish.gradle @@ -0,0 +1,14 @@ +apply plugin: 'maven-publish' + +afterEvaluate { + publishing { + publications { + release(MavenPublication) { + from components.release + groupId = 'weekend.coder' + artifactId = 'sticky-scrollview' + version = '1.0.4' + } + } + } +} \ No newline at end of file