mirror of
https://github.com/square/okhttp.git
synced 2025-07-31 05:04:26 +03:00
* Add reusable CompressionInterceptor.kt Refactor Brotli and Zstd to use this, but also allow trivial configuration of zstd,br,gzip.
30 lines
722 B
Plaintext
30 lines
722 B
Plaintext
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.zstd",
|
|
"Automatic-Module-Name: okhttp3.zstd",
|
|
"Bundle-SymbolicName: com.squareup.okhttp3.zstd"
|
|
)
|
|
|
|
dependencies {
|
|
"friendsApi"(projects.okhttp)
|
|
implementation(libs.zstd.kmp.okio)
|
|
|
|
testImplementation(projects.okhttpTestingSupport)
|
|
testImplementation(libs.kotlin.test.common)
|
|
testImplementation(libs.kotlin.test.junit)
|
|
testImplementation(libs.assertk)
|
|
}
|
|
|
|
mavenPublishing {
|
|
configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
|
|
}
|