corda/opentelemetry/opentelemetry-driver/build.gradle
Adel El-Beik e46b7bdd5a
ENT-6893: Added interface for clients to grab openetelemetry handle. (#7264)
* ENT-6893: Added interface for clients to grab openetelemetry handle.

* ENT-6893: Make detekt happy.

* ENT-6893: Fix warnings.

* ENT-6893: Make detekt happy.

* ENT-6893: Now shutdown opentelemetry when node stops or client is closed.

* ENT-6893: OpenTelemetryDriver is not not a singleton.
2022-11-24 13:34:08 +00:00

42 lines
898 B
Groovy

import static org.gradle.api.JavaVersion.VERSION_1_8
plugins {
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
id 'org.jetbrains.kotlin.jvm' // version '1.6.21'
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
id 'com.github.johnrengelman.shadow' // version '7.1.2'
id 'net.corda.plugins.publish-utils'
}
description 'OpenTelemetry Driver'
// This driver is required by core, so must always be 1.8. See core build.gradle.
targetCompatibility = VERSION_1_8
dependencies {
implementation project(":opentelemetry")
}
shadowJar {
archiveClassifier = null
classifier = null
exclude "**/Log4j2Plugins.dat"
zip64 true
}
artifacts {
archives shadowJar
publish shadowJar
}
jar {
enabled = false
}
publish {
disableDefaultJar = true
name 'corda-opentelemetry-driver'
}