34 lines
840 B
Groovy
34 lines
840 B
Groovy
plugins {
|
|
id "java-library"
|
|
id "maven-publish"
|
|
|
|
id "me.champeau.gradle.jmh"
|
|
id "org.jetbrains.kotlin.jvm"
|
|
id "ru.vyarus.animalsniffer"
|
|
}
|
|
|
|
description = "OpenTelemetry Kotlin Extensions"
|
|
ext.moduleName = "io.opentelemetry.extension.kotlin"
|
|
|
|
dependencies {
|
|
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
|
|
|
|
api project(':api:all')
|
|
|
|
api("org.jetbrains.kotlin:kotlin-stdlib-common")
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
|
|
|
|
testImplementation project(':sdk:testing')
|
|
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
|
|
|
signature libraries.android_signature
|
|
}
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
// We don't have any public Java classes
|
|
tasks.javadoc.enabled = false |