-
Notifications
You must be signed in to change notification settings - Fork 39
/
settings.gradle
109 lines (87 loc) · 3.29 KB
/
settings.gradle
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
104
105
106
107
108
109
/*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.gradle.internal.jvm.Jvm
pluginManagement {
plugins {
id "com.diffplug.spotless" version "6.18.0"
id 'nebula.release' version '19.0.10'
id "com.github.johnrengelman.shadow" version "8.1.1"
id 'com.google.cloud.tools.jib' version '3.1.4'
}
}
rootProject.name = "opentelemetry-operations-java"
include ":exporter-trace"
include ":examples-trace"
include ":examples-otlp-spring"
include ":examples-otlptrace"
include ":examples-otlpmetrics-function"
include ":exporter-metrics"
include ":examples-metrics"
include ":exporter-auto"
include ":examples-autoconf"
include ":examples-autoinstrument"
include ":examples-resource"
include ":detector-resources"
include ":detector-resources-support"
include ":e2e-test-server"
include ":examples-spring-sleuth"
include ":examples-spring"
include ":propagators-gcp"
include ":shared-resourcemapping"
def javaVersion = Jvm.current().javaVersion
if (javaVersion.isCompatibleWith(JavaVersion.VERSION_17)) {
include ":examples-spring-boot-starter"
project(':examples-spring-boot-starter').projectDir =
"$rootDir/examples/spring-boot-starter" as File
} else {
println "Excluding subproject ':examples-spring-boot-starter' because Java version is less than 17"
}
project(':exporter-trace').projectDir =
"$rootDir/exporters/trace" as File
project(':examples-trace').projectDir =
"$rootDir/examples/trace" as File
project(':examples-otlptrace').projectDir =
"$rootDir/examples/otlptrace" as File
project(':exporter-metrics').projectDir =
"$rootDir/exporters/metrics" as File
project(':examples-metrics').projectDir =
"$rootDir/examples/metrics" as File
project(':exporter-auto').projectDir =
"$rootDir/exporters/auto" as File
project(':detector-resources').projectDir =
"$rootDir/detectors/resources" as File
project(':detector-resources-support').projectDir =
"$rootDir/detectors/resources-support" as File
project(':examples-resource').projectDir =
"$rootDir/examples/resource" as File
project(':e2e-test-server').projectDir =
"$rootDir/e2e-test-server" as File
project(':examples-spring-sleuth').projectDir =
"$rootDir/examples/spring-sleuth" as File
project(':examples-autoinstrument').projectDir =
"$rootDir/examples/autoinstrument" as File
project(':examples-autoconf').projectDir =
"$rootDir/examples/autoconf" as File
project(':propagators-gcp').projectDir =
"$rootDir/propagators/gcp" as File
project(':shared-resourcemapping').projectDir =
"$rootDir/shared/resourcemapping" as File
project(':examples-otlp-spring').projectDir =
"$rootDir/examples/otlp-spring" as File
project(':examples-spring').projectDir =
"$rootDir/examples/spring" as File
project(':examples-otlpmetrics-function').projectDir =
"$rootDir/examples/otlpmetrics-function" as File