mirror of
https://github.com/square/okhttp.git
synced 2025-11-24 18:41:06 +03:00
33 lines
891 B
Kotlin
33 lines
891 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")
|
|
}
|
|
|
|
project.applyOsgi(
|
|
"Export-Package: okhttp3.dnsoverhttps",
|
|
"Automatic-Module-Name: okhttp3.dnsoverhttps",
|
|
"Bundle-SymbolicName: com.squareup.okhttp3.dnsoverhttps"
|
|
)
|
|
|
|
dependencies {
|
|
api(projects.okhttp)
|
|
compileOnly(libs.findbugs.jsr305)
|
|
|
|
testImplementation(projects.okhttpTestingSupport)
|
|
testImplementation(projects.mockwebserver)
|
|
testImplementation(projects.mockwebserver3Junit5)
|
|
testImplementation(libs.squareup.okio.fakefilesystem)
|
|
testImplementation(libs.conscrypt.openjdk)
|
|
testImplementation(libs.junit)
|
|
testImplementation(libs.assertj.core)
|
|
}
|
|
|
|
mavenPublishing {
|
|
configure(KotlinJvm(javadocJar = JavadocJar.Dokka("dokkaGfm")))
|
|
}
|