Skip to content

Commit c358175

Browse files
committed
change in build gradle
1 parent 09dde74 commit c358175

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

OGParser/build.gradle

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)