From 6c39096bc44a37109a25b7d128dae95d54774703 Mon Sep 17 00:00:00 2001 From: Shivam Dhuria Date: Sat, 11 Dec 2021 21:53:46 +0530 Subject: [PATCH] added build foribrary --- veneer/build.gradle | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/veneer/build.gradle b/veneer/build.gradle index b4bb2d8..10fe24e 100644 --- a/veneer/build.gradle +++ b/veneer/build.gradle @@ -4,7 +4,6 @@ plugins { id 'maven-publish' } -group = 'com.github.Shivamdhuria' android { compileSdk 31 @@ -56,4 +55,21 @@ dependencies { androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version" debugImplementation "androidx.compose.ui:ui-tooling:$compose_version" +} + +afterEvaluate { + publishing { + publications { + // Creates a Maven publication called "release". + release(MavenPublication) { + // Applies the component for the release build variant. + from components.release + + // You can then customize attributes of the publication as shown below. + groupId = 'com.github.Shivamdhuria' + artifactId = 'veneer' + version = '0.3.4' + } + } + } } \ No newline at end of file