File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,9 @@ if (env.BRANCH_NAME == "master") {
143143 usernamePassword(credentialsId : mavenCentralSignKeyId, passwordVariable : ' signingPassword' , usernameVariable : ' signingKeyId' )]) {
144144 deployGradleTasks = " --refresh-dependencies clean allTests " + deployGradleTasks + " publish -Puser=${ env.mavencentral_username} -Ppassword=${ env.mavencentral_password} -Psigning.keyId=${ env.signingKeyId} -Psigning.password=${ env.signingPassword} -Psigning.secretKeyRingFile=${ env.mavenCentralKeyFile} "
145145
146- gradle(" ${ deployGradleTasks} " )
146+ // see https://docs.gradle.org/6.0.1/release-notes.html "Publication of SHA256 and SHA512 checksums"
147+ def preventSHACheckSums = " -Dorg.gradle.internal.publish.checksums.insecure=true"
148+ gradle(" ${ deployGradleTasks} $preventSHACheckSums " )
147149
148150 }
149151
You can’t perform that action at this time.
0 commit comments