forked from signalfx/splunk-otel-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
32 lines (25 loc) · 805 Bytes
/
build.gradle.kts
File metadata and controls
32 lines (25 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
plugins {
id("idea")
id("io.github.gradle-nexus.publish-plugin")
}
apply(from = "version.gradle.kts")
nexusPublishing {
packageGroup.set("com.splunk")
repositories {
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
sonatype {
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
username.set(System.getenv("SONATYPE_USER"))
password.set(System.getenv("SONATYPE_KEY"))
}
}
}
group = "com.splunk"
subprojects {
version = rootProject.version
if (this.name != "dependencyManagement") {
apply(plugin = "splunk.java-conventions")
apply(plugin = "splunk.spotless-conventions")
}
}