Skip to content

Commit

Permalink
chore(build): bump nexus staging plugin, and increase timeouts
Browse files Browse the repository at this point in the history
this reduces the likelihood of build failures when OSSRH
is falling behind
  • Loading branch information
zml2008 committed Apr 5, 2024
1 parent e0d0cc0 commit f43de9b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
import org.vineflower.build.JasmCompile
import org.vineflower.build.TestDataRuntimesProvider

import java.time.Duration

plugins {
id 'jacoco'
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
id("io.github.gradle-nexus.publish-plugin") version '1.3.0'
id("io.github.gradle-nexus.publish-plugin") version '2.0.0-rc-2'
}

apply plugin: 'jacoco'
Expand Down Expand Up @@ -308,6 +310,11 @@ nexusPublishing {
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}

// nexus is eepy, give her time to respond
def timeout = Duration.ofMinutes(6)
clientTimeout = timeout
connectTimeout = timeout
}

signing {
Expand Down

0 comments on commit f43de9b

Please sign in to comment.