-
Notifications
You must be signed in to change notification settings - Fork 177
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
101 lines (90 loc) · 2.47 KB
/
settings.gradle.kts
File metadata and controls
101 lines (90 loc) · 2.47 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
import org.gradle.kotlin.dsl.maven
pluginManagement {
plugins {
id("com.gradleup.shadow") version "9.4.1"
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
id("com.gradle.develocity") version "4.4.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}
}
plugins {
id("com.gradle.develocity")
id("org.gradle.toolchains.foojay-resolver-convention")
}
dependencyResolutionManagement {
repositories {
mavenCentral()
mavenLocal()
// for otel snapshots
maven {
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
}
}
}
val develocityServer = "https://develocity.opentelemetry.io"
val isCI = System.getenv("CI") != null
val develocityAccessKey = System.getenv("DEVELOCITY_ACCESS_KEY") ?: ""
develocity {
if (develocityAccessKey.isNotEmpty()) {
server = develocityServer
}
buildScan {
if (develocityAccessKey.isNotEmpty()) {
} else if (isCI) {
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
termsOfUseAgree = "yes"
} else {
publishing.onlyIf { false }
}
capture {
fileFingerprints = true
}
buildScanPublished {
File("build-scan.txt").printWriter().use { writer ->
writer.println(buildScanUri)
}
}
}
}
buildCache {
remote(HttpBuildCache::class) {
url = uri("$develocityServer/cache/")
isPush = isCI && develocityAccessKey.isNotEmpty()
}
}
rootProject.name = "opentelemetry-java-contrib"
include(":aws-resources")
include(":aws-xray")
include(":aws-xray-propagator")
include(":azure-resources")
include(":baggage-processor")
include(":cel-sampler")
include(":compressors:compressor-zstd")
include(":cloudfoundry-resources")
include(":consistent-sampling")
include(":custom-checks")
include(":dependencyManagement")
include(":disk-buffering")
include(":ibm-mq-metrics")
include(":jfr-events")
include(":jfr-connection")
include(":jmx-metrics")
include(":jmx-scraper")
include(":jmx-scraper:test-app")
include(":jmx-scraper:test-webapp")
include(":maven-extension")
include(":micrometer-meter-provider")
include(":noop-api")
include(":processors")
include(":prometheus-client-bridge")
include(":resource-providers")
include(":runtime-attach:runtime-attach")
include(":runtime-attach:runtime-attach-core")
include(":samplers")
include(":kafka-exporter")
include(":gcp-resources")
include(":span-stacktrace")
include(":inferred-spans")
include(":opamp-client")
include(":gcp-auth-extension")
include(":dynamic-control")