30 lines
806 B
Groovy
30 lines
806 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
description = 'OpenTelemetry W3C Context Propagation Integration Tests'
|
|
ext.moduleName = "io.opentelemetry.tracecontext.integration.tests"
|
|
|
|
|
|
// create a single Jar with all dependencies
|
|
task fatJar(type: Jar) {
|
|
manifest {
|
|
attributes 'Main-Class': 'io.opentelemetry.Application'
|
|
}
|
|
archiveName = 'tracecontext-tests.jar'
|
|
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
with jar
|
|
}
|
|
|
|
dependencies {
|
|
api project(':opentelemetry-api')
|
|
|
|
implementation project(':opentelemetry-sdk'),
|
|
project(':opentelemetry-extension-trace-propagators'),
|
|
libraries.okhttp,
|
|
libraries.slf4jsimple,
|
|
"com.sparkjava:spark-core:2.9.3",
|
|
"com.google.code.gson:gson:2.8.6"
|
|
}
|
|
|