You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: "*Publishing* ${currentBuild.fullDisplayName} to Bintray...\n${env.BUILD_URL}"
80
+
message: "*Publishing* ${currentBuild.fullDisplayName} to Central...\n${env.BUILD_URL}"
85
81
82
+
// Step 1: upload files to staging repository.
86
83
// Note: supply internal repo as tests use native dependencies that might not be published, yet.
87
-
sh "./gradlew $gradleArgs$internalRepoArgs$uploadRepoArgsBintray uploadArchives"
84
+
sh "./gradlew $gradleArgs$internalRepoArgs$uploadRepoArgsCentral uploadArchives"
85
+
86
+
// Step 2: close and release staging repository.
87
+
sh "./gradlew $gradleArgs$uploadRepoArgsCentral closeAndReleaseRepository"
88
88
89
89
googlechatnotification url: 'id:gchat_java',
90
-
message: "Published ${currentBuild.fullDisplayName} successfully to Bintray - check https://bintray.com/objectbox/objectbox\n${env.BUILD_URL}"
90
+
message: "Published ${currentBuild.fullDisplayName} successfully to Central - check https://repo1.maven.org/maven2/io/objectbox/ in a few minutes.\n${env.BUILD_URL}"
0 commit comments