Repository navigation
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
103 lines (98 loc) · 2.77 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
103 lines (98 loc) · 2.77 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
pluginManagement {
plugins {
id("com.bmuschko.docker-remote-api") version "10.0.0"
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
id("com.github.jk1.dependency-license-report") version "3.1.5"
id("com.gradleup.shadow") version "9.6.1"
}
}
plugins {
id("com.gradle.develocity") version "4.6.1"
}
val artifactoryUrl: String? = System.getenv("MAVEN_REPOSITORY_URL")
if (artifactoryUrl != null) {
pluginManagement {
repositories {
maven {
name = "artifactory"
url = uri(artifactoryUrl)
credentials(PasswordCredentials::class)
}
}
}
}
dependencyResolutionManagement {
repositories {
if (artifactoryUrl != null) {
maven {
name = "artifactory"
url = uri(artifactoryUrl)
credentials(PasswordCredentials::class)
}
} else {
mavenCentral()
}
maven {
name = "sonatypeSnapshots"
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
}
ivy {
// Required to source artifact directly from github release page
// https://github.com/signalfx/csa-releases/releases/download/<version>/oss-agent-mtagent-extension-deployment.jar
url = uri("https://github.com/")
metadataSources {
artifact()
}
patternLayout {
ivy("[organisation]/[module]/releases/download/[revision]/[artifact].[ext]")
artifact("[organisation]/[module]/releases/download/[revision]/[artifact].[ext]")
}
}
}
}
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = if (System.getenv("CI") != null) "yes" else "no"
uploadInBackground = System.getenv("CI") == null
if (!gradle.startParameter.taskNames.contains(":metadata-generator:generateMetadata")) {
buildScanPublished {
File("build-scan.txt").printWriter().use { writer ->
writer.println(buildScanUri)
}
}
}
}
}
rootProject.name = "splunk-otel-java"
include(":dependencyManagement")
include(
"agent",
"agent-csa-bundle",
"bootstrap",
"custom",
"opamp",
"instrumentation",
"instrumentation:compile-stub",
"instrumentation:glassfish",
"instrumentation:jdbc",
"instrumentation:jetty",
"instrumentation:jvm-metrics",
"instrumentation:khttp",
"instrumentation:liberty",
"instrumentation:nocode",
"instrumentation:nocode-testing",
"instrumentation:servlet-3-testing",
"instrumentation:tomcat",
"instrumentation:tomee",
"instrumentation:weblogic",
"instrumentation:websphere",
"instrumentation:wildfly",
"metadata-generator",
"matrix",
"profiler",
"smoke-tests",
"testing:agent-for-testing",
"testing:agent-test-extension",
"testing:jmh-benchmarks",
"testing:common")