Skip to content

Commit b5bc7ed

Browse files
allow override already published artifacts
in order to possibility re-run job if something failed especially Maven Central sync #26
1 parent 7ec9a6d commit b5bc7ed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gradle/java-publication.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ bintray {
9595
key = System.getenv('BINTRAY_API_KEY')
9696
publish = true //can be changed to 'false' for testing
9797
dryRun = project.hasProperty("bintrayDryRun")
98+
99+
// allow override in order to possibility re-run job if something failed
100+
// especially Maven Central sync
101+
// https://github.com/mockito/mockito-testng/issues/26
102+
override = true
103+
98104
publications = ['javaLibrary']
99105

100106
pkg {

0 commit comments

Comments
 (0)