File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
detectors/resources-support
src/main/java/com/google/cloud/opentelemetry/detectors Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id ' java'
3
+ }
4
+
5
+ group ' org.example'
6
+
7
+ repositories {
8
+ mavenCentral()
9
+ }
10
+
11
+ dependencies {
12
+ testImplementation ' org.junit.jupiter:junit-jupiter-api:5.8.1'
13
+ testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.8.1'
14
+ }
15
+
16
+ test {
17
+ useJUnitPlatform()
18
+ }
Original file line number Diff line number Diff line change
1
+ package com .google .cloud .opentelemetry .detectors ;
2
+
3
+ public class Main {
4
+ public static void main (String [] args ) {
5
+ System .out .println ("Hello world!" );
6
+ }
7
+ }
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ include ":examples-autoconf"
33
33
include " :examples-autoinstrument"
34
34
include " :examples-resource"
35
35
include " :detector-resources"
36
+ include " :detector-resources-support"
36
37
include " :e2e-test-server"
37
38
include " :examples-spring"
38
39
include " :propagators-gcp"
@@ -56,6 +57,9 @@ project(':exporter-auto').projectDir =
56
57
project(' :detector-resources' ). projectDir =
57
58
" $rootDir /detectors/resources" as File
58
59
60
+ project(' :detector-resources-support' ). projectDir =
61
+ " $rootDir /detectors/resources-support" as File
62
+
59
63
project(' :examples-resource' ). projectDir =
60
64
" $rootDir /examples/resource" as File
61
65
You can’t perform that action at this time.
0 commit comments