Always use the staging repo (this is what we want)
parent
85a6513b8c
commit
1b7541a1a9
|
@ -302,7 +302,7 @@ class PublishPlugin : Plugin<Project> {
|
|||
|
||||
|
||||
nexusPublishing {
|
||||
useStaging.set(config.useStaging)
|
||||
useStaging.set(true)
|
||||
|
||||
transitionCheckOptions {
|
||||
it.maxRetries.set(config.retryLimit)
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue