File tree 4 files changed +32
-42
lines changed
groovy/io/opentelemetry/contrib/example
java/io/opentelemetry/contrib/example
4 files changed +32
-42
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id(" otel.java-conventions" )
3
+ }
4
+
5
+ description = " An example OpenTelemetry Java Contrib library"
6
+
7
+ tasks {
8
+ jar {
9
+ manifest {
10
+ attributes[" Main-Class" ] = " io.opentelemetry.contrib.example.Library"
11
+ }
12
+ }
13
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright The OpenTelemetry Authors
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ package io .opentelemetry .contrib .example ;
7
+
8
+ import static org .assertj .core .api .Assertions .assertThat ;
9
+
10
+ import org .junit .jupiter .api .Test ;
11
+
12
+ class LibraryTest {
13
+
14
+ @ Test
15
+ void myMethod () {
16
+ Library library = new Library ();
17
+ assertThat (library .myMethod ()).isTrue ();
18
+ }
19
+ }
You can’t perform that action at this time.
0 commit comments