35 lines
827 B
Plaintext
35 lines
827 B
Plaintext
import java.time.Duration
|
|
|
|
plugins {
|
|
id("otel.spotless-conventions")
|
|
|
|
id("idea")
|
|
|
|
id("io.github.gradle-nexus.publish-plugin")
|
|
}
|
|
|
|
apply(from = "version.gradle.kts")
|
|
|
|
nexusPublishing {
|
|
packageGroup.set("io.opentelemetry")
|
|
|
|
repositories {
|
|
sonatype {
|
|
username.set(System.getenv("SONATYPE_USER"))
|
|
password.set(System.getenv("SONATYPE_KEY"))
|
|
}
|
|
}
|
|
|
|
connectTimeout.set(Duration.ofMinutes(5))
|
|
clientTimeout.set(Duration.ofMinutes(5))
|
|
|
|
transitionCheckOptions {
|
|
// We have many artifacts so Maven Central takes a long time on its compliance checks. This sets
|
|
// the timeout for waiting for the repository to close to a comfortable 50 minutes.
|
|
maxRetries.set(300)
|
|
delayBetween.set(Duration.ofSeconds(10))
|
|
}
|
|
}
|
|
|
|
description = "OpenTelemetry Contrib libraries and utilities for the JVM"
|