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