1
0
mirror of https://github.com/square/okhttp.git synced 2025-07-29 17:41:17 +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,7 +1,12 @@
applyOsgi(this)
jar {
manifest {
attributes('Automatic-Module-Name': 'okhttp3.dnsoverhttps')
}
// MANIFEST.MF, including OSGi bnd instructions.
bnd '''
Export-Package: okhttp3.dnsoverhttps
Automatic-Module-Name: okhttp3.dnsoverhttps
Bundle-SymbolicName: com.squareup.okhttp3.dnsoverhttps
'''
}
dependencies {