1
0
mirror of https://github.com/square/okhttp.git synced 2025-08-08 23:42:08 +03:00

Publish OSGi metadata for OkHttp

This commit is contained in:
Simon Wimmesberger
2020-09-27 19:10:21 +02:00
committed by Jesse Wilson
parent f692f07744
commit b4d66af1da
10 changed files with 274 additions and 26 deletions

View File

@@ -1,9 +1,13 @@
apply plugin: 'me.champeau.gradle.japicmp'
applyOsgi(this)
jar {
manifest {
attributes('Automatic-Module-Name': 'okhttp3.logging')
}
// MANIFEST.MF, including OSGi bnd instructions.
bnd '''
Export-Package: okhttp3.logging
Automatic-Module-Name: okhttp3.logging
Bundle-SymbolicName: com.squareup.okhttp3.logging
'''
}
dependencies {