opentelemetry-java/integration-tests/build.gradle

35 lines
911 B
Groovy

plugins {
id "java"
id "ru.vyarus.animalsniffer"
}
description = 'OpenTelemetry Integration Tests'
ext.moduleName = "io.opentelemetry.integration.tests"
// create a single Jar with all dependencies
task fatJar(type: Jar) {
baseName = project.name + '-all'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
dependencies {
implementation project(':sdk:all'),
project(':exporters:jaeger'),
libraries.grpc_protobuf,
libraries.protobuf,
"io.grpc:grpc-netty-shaded:${grpcVersion}"
testImplementation 'com.fasterxml.jackson.core:jackson-databind',
libraries.testcontainers,
libraries.okhttp
signature libraries.android_signature
tasks.withType(Test) {
dependsOn fatJar
systemProperty 'archive.name', fatJar.outputs.files[0].path
}
}