29 lines
632 B
Plaintext
29 lines
632 B
Plaintext
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
plugins {
|
|
id("otel.java-conventions")
|
|
|
|
id("org.jetbrains.kotlin.jvm")
|
|
}
|
|
|
|
val ktorVersion = "2.0.0"
|
|
|
|
dependencies {
|
|
api(project(":testing-common"))
|
|
|
|
implementation("io.ktor:ktor-client-core:$ktorVersion")
|
|
implementation("io.ktor:ktor-server-core:$ktorVersion")
|
|
|
|
implementation("io.opentelemetry:opentelemetry-extension-kotlin")
|
|
|
|
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
|
compileOnly("io.ktor:ktor-server-netty:$ktorVersion")
|
|
compileOnly("io.ktor:ktor-client-cio:$ktorVersion")
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
jvmTarget.set(JvmTarget.JVM_1_8)
|
|
}
|
|
}
|