1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-23 06:42:24 +03:00
Files
okhttp/mockwebserver-junit5/build.gradle.kts
2023-09-16 10:38:35 +01:00

38 lines
878 B
Kotlin

import com.vanniktech.maven.publish.JavadocJar
import com.vanniktech.maven.publish.KotlinJvm
plugins {
kotlin("jvm")
id("org.jetbrains.dokka")
id("com.vanniktech.maven.publish.base")
id("binary-compatibility-validator")
}
tasks {
jar {
manifest {
attributes("Automatic-Module-Name" to "mockwebserver3.junit5")
}
}
test {
useJUnitPlatform()
systemProperty("junit.jupiter.extensions.autodetection.enabled", "true")
}
}
dependencies {
api(projects.mockwebserver3)
api(libs.junit.jupiter.api)
compileOnly(libs.animalsniffer.annotations)
testRuntimeOnly(libs.junit.jupiter.engine)
testImplementation(libs.assertj.core)
testImplementation(libs.kotlin.junit5)
testImplementation(projects.okhttpTestingSupport)
testImplementation(libs.assertj.core)
}
mavenPublishing {
configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
}