Skip to content

Commit 367e9f2

Browse files
committed
enable auto publish
1 parent 3e04c54 commit 367e9f2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

build.gradle.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ allprojects {
193193
plugins.withId("maven-publish") {
194194
plugins.apply("signing")
195195

196-
// afterEvaluate {
197-
// val publishTask = tasks.named("publishToSonatype")
198-
//
199-
// postReleaseTask.configure {
200-
// dependsOn(publishTask)
201-
// }
202-
// }
196+
afterEvaluate {
197+
val publishTask = tasks.named("publishToSonatype")
198+
199+
postReleaseTask.configure {
200+
dependsOn(publishTask)
201+
}
202+
}
203203

204204
configure<PublishingExtension> {
205205
publications {

0 commit comments

Comments
 (0)