Always use the staging repo (this is what we want)

master
Robinson 2023-09-25 15:15:41 +02:00
parent 85a6513b8c
commit 1b7541a1a9
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 1 additions and 7 deletions

View File

@ -302,7 +302,7 @@ class PublishPlugin : Plugin<Project> {
nexusPublishing {
useStaging.set(config.useStaging)
useStaging.set(true)
transitionCheckOptions {
it.maxRetries.set(config.retryLimit)

View File

@ -50,12 +50,6 @@ class PrivateKey {
open class PublishToSonatype(val project: Project) {
/**
* If we want to push to the staging repository instead of the release one
*/
@get:Input
var useStaging = false
/**
* How long the HTTP client will wait before timing out
*/