Files
react-native/ReactAndroid/src/main/third-party/java/okhttp/BUCK
T
Andrew Jack c47f7457c0 Update OkHttp to 3.4.0 and Okio to 1.9.0
Summary:
- 3.3.1 wasn't compatible with Robolectric 3.0, however 3.4.0 [fixes](https://github.com/square/okhttp/issues/2533#issuecomment-230198063) this issue.
- Few other fixes to OkHttp mentioned in the [CHANGELOG.md](https://github.com/square/okhttp/blob/master/CHANGELOG.md)

> Fixes: #7743
>
- Android apps can recover from a `REFUSED_STREAM` in HTTP/2.
- A few other fixes mentioned in the [CHANGELOG.md](https://github.com/square/okhttp/blob/master/CHANGELOG.md)

- CircleCi
- Test with `/Examples` ✅
Closes https://github.com/facebook/react-native/pull/8672

Reviewed By: alsutton

Differential Revision: D3541293

Pulled By: bestander

fbshipit-source-id: 76429861b4f4df15cb9c18ab0f177daee3e1459d
2016-07-20 06:43:33 -07:00

36 lines
893 B
Python

prebuilt_jar(
name = 'okhttp3',
binary_jar = ':okhttp3-binary-jar',
visibility = ['//ReactAndroid/...',],
)
remote_file(
name = 'okhttp3-binary-jar',
url = 'mvn:com.squareup.okhttp3:okhttp:jar:3.4.1',
sha1 = 'c7c4f9e35c2fd5900da24f9872e3971801f08ce0'
)
prebuilt_jar(
name = 'okhttp3-urlconnection',
binary_jar = ':okhttp3-urlconnection-binary-jar',
visibility = ['//ReactAndroid/...',],
)
remote_file(
name = 'okhttp3-urlconnection-binary-jar',
url = 'mvn:com.squareup.okhttp3:okhttp-urlconnection:jar:3.4.1',
sha1 = '63994437f62bc861bc20c605d12962f7246116d1'
)
prebuilt_jar(
name = 'okhttp3-ws',
binary_jar = ':okhttp3-ws-binary-jar',
visibility = ['//ReactAndroid/...',],
)
remote_file(
name = 'okhttp3-ws-binary-jar',
url = 'mvn:com.squareup.okhttp3:okhttp-ws:jar:3.4.1',
sha1 = '8ace66ef7002d98f633377c9e67daeeb196d8c3b',
)