Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangchungk53qx1 authored Nov 20, 2023
1 parent 48099cb commit 24cb9c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flow_bus_core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ afterEvaluate {
}
}
}
signing {
setRequired {
// signing is only required if the artifacts are to be published
gradle.taskGraph.allTasks.any { it.equals( PublishToMavenRepository) }
}

mavenPublishing {
publishToMavenCentral(SonatypeHost.S01, true)
signAllPublications()
Expand Down

0 comments on commit 24cb9c0

Please sign in to comment.