File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -62,4 +62,28 @@ dependencies {
6262// implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:${lifecycle_version}"
6363}
6464
65- group = ' com.github.Priyansh-Kedia'
65+ afterEvaluate {
66+ publishing {
67+ publications {
68+ // Creates a Maven publication called "release".
69+ release(MavenPublication ) {
70+ // Applies the component for the release build variant.
71+ from components. release
72+
73+ // You can then customize attributes of the publication as shown below.
74+ groupId = ' com.github.Priyansh-Kedia'
75+ artifactId = ' final'
76+ version = ' 2.5.3'
77+ }
78+ // Creates a Maven publication called “debug”.
79+ debug(MavenPublication ) {
80+ // Applies the component for the debug build variant.
81+ from components. debug
82+
83+ groupId = ' com.github.Priyansh-Kedia'
84+ artifactId = ' final-debug'
85+ version = ' 2.5.3'
86+ }
87+ }
88+ }
89+ }
You can’t perform that action at this time.
0 commit comments