1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-25 16:01:38 +03:00

Switch NPN from optional to provided.

Optional dependencies get included in the fat jar but are not transitive. Provided dependencies do NOT get included in the fat jar and are also not transitive.

I believe the former is a bug in the Maven assembly plugin so the latter case is used as a workaround.
This commit is contained in:
Jake Wharton
2013-08-23 14:04:36 -07:00
parent 350c1f7780
commit 64b257183f

View File

@@ -27,7 +27,7 @@
<dependency>
<groupId>org.mortbay.jetty.npn</groupId>
<artifactId>npn-boot</artifactId>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<dependency>