Skip to content

Commit

Permalink
added build foribrary
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam Dhuria authored and Shivam Dhuria committed Dec 11, 2021
1 parent 45b1d8f commit 6c39096
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion veneer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ plugins {
id 'maven-publish'

}
group = 'com.github.Shivamdhuria'

android {
compileSdk 31
Expand Down Expand Up @@ -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'
}
}
}
}

0 comments on commit 6c39096

Please sign in to comment.