This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
63 lines (48 loc) · 1.54 KB
/
build.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
plugins {
id 'java'
id 'maven-publish'
}
group 'com.dynatrace.oss.opentelemetry'
version '1.0.0'
repositories {
mavenCentral()
}
dependencies {
implementation platform("io.opentelemetry:opentelemetry-bom:1.11.+")
implementation 'io.opentelemetry:opentelemetry-api'
implementation 'io.opentelemetry:opentelemetry-sdk'
implementation 'io.opentelemetry:opentelemetry-exporter-otlp-trace'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.7.0'
testImplementation 'org.assertj:assertj-core:3.21.0'
testImplementation 'org.junit.platform:junit-platform-launcher:1.7.0'
testImplementation 'io.grpc:grpc-netty:1.38.1'
testImplementation 'io.opentelemetry:opentelemetry-exporters-inmemory:0.9.+'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
test {
useJUnitPlatform()
exclude 'com/dynatrace/oss/**/*$*/**'
}
publishing {
publications {
maven(MavenPublication) {
artifactId = 'junit.jupiter.exporter'
from components.java
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/dynatrace-oss/junit-jupiter-open-telemetry-extension"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
wrapper {
gradleVersion = '7.2'
}