Skip to content

Commit 7225646

Browse files
author
pisalcoding
committed
Update publishing script
1 parent 10b1e47 commit 7225646

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

alerter/build.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ dependencies {
4242
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
4343
}
4444

45-
afterEvaluate {
46-
configure<PublishingExtension> {
47-
publications {
48-
create<MavenPublication>("maven") {
49-
groupId = "com.github.utngypisal"
50-
artifactId = "alerter"
51-
version = "1.0.0"
45+
configure<PublishingExtension> {
46+
publications {
47+
register<MavenPublication>("release") {
48+
groupId = "com.github.utngypisal"
49+
artifactId = "alerter"
50+
version = "1.0.0"
5251

52+
afterEvaluate {
5353
from(components["release"])
5454
}
5555
}
5656
}
57-
}
57+
}

0 commit comments

Comments
 (0)