forked from newrelic/newrelic-telemetry-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
39 lines (32 loc) · 1.19 KB
/
build.gradle.kts
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
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
import com.newrelic.telemetry.gradle.exampleClassTask
private object Versions {
const val slf4j = "1.7.26"
}
plugins {
java
}
apply(plugin = "java-library")
dependencies {
implementation(project(":telemetry-http-okhttp"))
implementation(project(":telemetry-http-java11"))
runtimeOnly("org.slf4j:slf4j-simple:${Versions.slf4j}")
}
tasks {
javadoc {
options.encoding = "UTF-8"
}
}
exampleClassTask("com.newrelic.telemetry.examples.BoundaryExample")
exampleClassTask("com.newrelic.telemetry.examples.ConfigurationExamples")
exampleClassTask("com.newrelic.telemetry.examples.CountExample")
exampleClassTask("com.newrelic.telemetry.examples.EventExample")
exampleClassTask("com.newrelic.telemetry.examples.GaugeExample")
exampleClassTask("com.newrelic.telemetry.examples.LogExample")
exampleClassTask("com.newrelic.telemetry.examples.SpanExample")
exampleClassTask("com.newrelic.telemetry.examples.SummaryExample")
exampleClassTask("com.newrelic.telemetry.examples.TelemetryClientExample")
exampleClassTask("com.newrelic.telemetry.examples.SpanToTraceObserverExample")