1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-24 18:41:06 +03:00
Commit Graph

40 Commits

Author SHA1 Message Date
Yuri Schimke
362f53546d Adopt Version Catalog and Updates plugin (#7075) 2022-02-15 23:38:32 +00:00
Goooler
f5758b7f26 Enable Gradle's type-safe project accessors (#7069) 2022-02-08 20:01:28 +00:00
Goooler
8debc78b00 Simplify gradle kts (#6931) 2021-11-27 12:31:27 +00:00
Jesse Wilson
d9a65a85c5 Switch to Vanniktech for Maven publishing (#6929)
* Switch to Vanniktech for Maven publishing

Steal configuration from Okio, which already works nicely.

* Update mockwebserver-junit5/build.gradle.kts

Co-authored-by: Benoît Quenaudon <bquenaudon@squareup.com>

Co-authored-by: Benoît Quenaudon <bquenaudon@squareup.com>
2021-11-26 06:58:00 -05:00
Goooler
d0759a7907 Simplify kts (#6926)
* Simplify kts

* Use extensions

* Use extensions

* Simplify kts
2021-11-25 19:41:08 -05:00
Goooler
3417fd0e78 Update README files to 4.9.3 (#6927) 2021-11-24 09:34:33 -05:00
Jesse Wilson
35bb1740a4 Convert the main build.gradle file to KTS (#6925)
I attempted to do a literal translation as much as possible.
Subprojects now need plugins to be configured directly so they
can use the appropriate syntax.
2021-11-24 07:19:39 +00:00
Jesse Wilson
a87f4b4585 Changelog for OkHttp 4.9.2 2021-09-30 21:13:35 -04:00
Goooler
e016350e5a Convert module gradle builds files to kts (#6830) 2021-08-12 08:36:23 +01:00
Goooler
90f8a7d26f Refactor applyOsgi & baselineJar to kotlin (#6823) 2021-08-12 07:52:29 +01:00
Goooler
cc3ce11fc4 Code cleanup and imports (#6822) 2021-08-03 14:52:10 +03:00
Goooler
ef5d0c83f7 Update README files to 4.9.1 (#6617) 2021-04-10 07:42:40 +01:00
Yuri Schimke
b607bb0aa8 Partial move to gradle kotlin (#6532) 2021-02-06 14:57:47 +00:00
Yuri Schimke
a70136ee81 Additional n-i-t tests (#6384)
* Add more n-i-t tests

* Add some more tests

* Copyright
2020-11-01 11:14:52 -05:00
Yuri Schimke
d80df11093 Brotli junit5 tests (#6371) 2020-11-01 09:10:13 -05:00
Jesse Wilson
8438e360de Rename mockwebserverwrapper to mockwebserver-deprecated (#6328) 2020-10-18 08:55:43 -04:00
Jesse Wilson
3e331c1089 Rename okhttp3.mockwebserver to mockwebserver3 (#6327)
Also rename okhttp3.mockwebserverwrapper to okhttp3.mockwebserver

Directories are not renamed to minimize the git diff. That'll follow
in a separate commit.

Most users of the API are not impacted. The ones that are:
 - CallTest subclasses QueueDispatcher
 - DuplexTest uses duplex APIs
 - HttpOverHttp2Test subclasses QueueDispatcher

This is part 2 of the plan described here:
https://github.com/square/okhttp/pull/6326
2020-10-18 08:13:09 -04:00
Simon Wimmesberger
b4d66af1da Publish OSGi metadata for OkHttp 2020-10-06 22:40:28 -04:00
Jesse Wilson
cbeaf8f955 Prepare for release 4.9.0. 2020-09-11 17:08:20 -04:00
Jesse Wilson
96a2118dd4 Release OkHttp 4.8.1. 2020-08-06 10:07:13 -04:00
Jesse Wilson
a70e992c3f Prepare for release 4.8.0. 2020-07-11 14:01:06 -04:00
Nguyễn Triết Khang
cfdeb570c2 Fix BrotliInterceptor failing to handle No content response (#6075)
* Brotli: add test case skip uncompress "No content" response

* BrotliInterceptor: skip uncompress if response has empty body
2020-05-20 21:55:31 -04:00
Jesse Wilson
4c595553fb Prepare for release 4.7.2. 2020-05-20 09:06:47 -04:00
Jesse Wilson
186ec88aff Prepare for release 4.7.1. 2020-05-18 17:46:48 -04:00
Jesse Wilson
ef7c5f358e Prepare for release 4.7.0. 2020-05-17 13:52:53 -04:00
Jesse Wilson
0deadd5611 Prepare for release 4.6.0. 2020-04-29 00:52:51 -04:00
Yuri Schimke
19771365f2 Rename to src/main/kotlin (#5938)
Follows the default path logic for kotlin classes.
2020-04-11 17:15:25 +01:00
Jesse Wilson
ca0c8d6a1a Prepare for release 4.5.0. 2020-04-06 10:54:10 -04:00
Jesse Wilson
44124ba2a3 Prepare for release 4.4.0. 2020-02-17 17:51:22 -05:00
Jesse Wilson
e6cefb7a4d Switch to Gradle's Maven Publishing Plugin
This removes a bunch of low-value stuff from the pom.xml files:

 - name
 - description
 - licence distribution ('repo')
 - developers clause
 - test dependencies

I don't think any of this will be missed, and it shrinks the pom.xml
file to the minimal set of useful stuff.

This also causes us to publish a gradle .module file. This is the
motivation for this change. It'll allow us to ship a Gradle platform,
which is a more capable than a Maven BOM.
2020-01-19 21:44:55 -05:00
Jesse Wilson
c1d50e371f Upgrade Okio and some build dependencies
The new ktlint sorts imports which makes this diff large.

The new japicmp ignores 'final' modifier changes in final classes.

We adopt the Google style for checkstyle.xml.

Okio readByteString() now uses segments more aggressively, so we
need to mitigate that to avoid tracking those segments in a test.
2020-01-11 22:24:12 -05:00
Jesse Wilson
fd0919cfa4 OkHttp 4.3.1 is released 2020-01-07 13:44:16 -05:00
Jesse Wilson
b63debd827 Prepare for release 4.3.0. 2019-12-31 16:39:08 -05:00
Jesse Wilson
40e69e6cc4 Include Brotli docs in the OkHttp website 2019-10-06 10:45:55 -04:00
Jesse Wilson
20fcc7d330 Update changelog for 4.2.1. 2019-10-02 08:26:28 -04:00
Jesse Wilson
582f8ef2f7 Prepare for release 4.2.0. 2019-09-10 13:04:12 -04:00
Jesse Wilson
1b97ce67e9 Update the changelog for 4.1.1. 2019-09-05 00:30:48 -04:00
Yuri Schimke
1d293fa062 Brotli Interceptor docs 2019-08-23 17:43:31 -04:00
Yuri Schimke
f2be5c3465 Check gzip response in brotli interceptor (#5274)
* Check gzip response in brotli interceptor

* Update BrotliInterceptorTest.kt
2019-07-07 11:08:36 -04:00
Yuri Schimke
3abc3e597f Brotli Interceptor (#5088)
Brotli compression Interceptor that also supports gzip, as transparent handling is disabled.
2019-07-06 11:46:31 +01:00