2022-10-28 13:41:39 +00:00
|
|
|
import static org.gradle.api.JavaVersion.VERSION_1_8
|
|
|
|
|
|
|
|
plugins {
|
2022-12-08 16:54:38 +00:00
|
|
|
id 'org.jetbrains.kotlin.jvm'
|
2022-10-28 13:41:39 +00:00
|
|
|
id 'java-library'
|
2022-12-08 16:54:38 +00:00
|
|
|
id 'com.github.johnrengelman.shadow'
|
2022-10-28 13:41:39 +00:00
|
|
|
id 'net.corda.plugins.publish-utils'
|
2022-12-08 18:42:51 +00:00
|
|
|
id 'com.jfrog.artifactory'
|
2022-10-28 13:41:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
description 'OpenTelemetry Driver'
|
|
|
|
|
|
|
|
// This driver is required by core, so must always be 1.8. See core build.gradle.
|
|
|
|
targetCompatibility = VERSION_1_8
|
|
|
|
|
|
|
|
dependencies {
|
2022-11-24 13:34:08 +00:00
|
|
|
implementation project(":opentelemetry")
|
2022-10-28 13:41:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
2022-11-24 13:34:08 +00:00
|
|
|
archiveClassifier = null
|
|
|
|
classifier = null
|
2022-10-28 13:41:39 +00:00
|
|
|
exclude "**/Log4j2Plugins.dat"
|
|
|
|
zip64 true
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
archives shadowJar
|
|
|
|
publish shadowJar
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
enabled = false
|
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
|
|
|
disableDefaultJar = true
|
|
|
|
name 'corda-opentelemetry-driver'
|
2022-12-08 18:42:51 +00:00
|
|
|
}
|