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' }