forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
32 lines (27 loc) · 1.13 KB
/
build.gradle
File metadata and controls
32 lines (27 loc) · 1.13 KB
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
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
apply plugin: 'elasticsearch.internal-es-plugin'
apply plugin: 'elasticsearch.internal-java-rest-test'
esplugin {
name = 'apm'
description = 'Provides APM integration for Elasticsearch'
classname ='org.elasticsearch.telemetry.apm.APM'
}
def otelVersion = '1.57.0'
def otelSemconvVersion = '1.21.0-alpha'
dependencies {
implementation "io.opentelemetry:opentelemetry-api:${otelVersion}"
implementation "io.opentelemetry:opentelemetry-context:${otelVersion}"
implementation "io.opentelemetry:opentelemetry-semconv:${otelSemconvVersion}"
runtimeOnly "io.opentelemetry:opentelemetry-common:${otelVersion}"
runtimeOnly "co.elastic.apm:elastic-apm-agent-java8:1.55.0"
javaRestTestImplementation project(':modules:apm')
javaRestTestImplementation project(':test:framework')
}
tasks.named("dependencyLicenses").configure {
mapping from: /opentelemetry-.*/, to: 'opentelemetry'
}