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

22 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
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
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
Goooler
e4c5542e02 Convert part of gradle to kts (#6775) 2021-07-29 09:40:27 +03:00
Yuri Schimke
b607bb0aa8 Partial move to gradle kotlin (#6532) 2021-02-06 14:57:47 +00: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
Jesse Wilson
dc1e870d24 Basic Gradle support 2019-03-17 00:16:26 -04:00
Jesse Wilson
695b46cb2e [maven-release-plugin] prepare for next development iteration 2019-03-13 23:42:40 -04:00
Jesse Wilson
44d51d0ceb [maven-release-plugin] prepare release parent-3.14.0 2019-03-13 23:42:33 -04:00
Jesse Wilson
89ca799ac5 Upgrade to jnr-unixsocket 0.22 2019-02-12 11:33:52 -05:00
Jesse Wilson
0a59e68b16 [maven-release-plugin] prepare for next development iteration 2019-02-05 12:15:46 -05:00
Jesse Wilson
d28d2cec21 [maven-release-plugin] prepare release parent-3.13.1 2019-02-05 12:15:39 -05:00
Jesse Wilson
5ecd590c8c [maven-release-plugin] prepare for next development iteration 2019-02-04 23:32:52 -05:00
Jesse Wilson
d55661544b [maven-release-plugin] prepare release parent-3.13.0 2019-02-04 23:32:45 -05:00
Jesse Wilson
4adcbdfebf Fix the UNIX sockets sample to use HTTP/2
It turns out that the NIO dumpsterfire harms us again here. The Channels APIs
synchronize whenever reading or writing to a stream if the channel implements
SelectableChannel. If both the input stream and the output stream are on the
same channel, then it is impossible to read and write concurrently.

Fixes: https://github.com/square/okhttp/issues/4419
2018-12-23 22:46:30 -05:00
Jesse Wilson
c273b3be38 [maven-release-plugin] prepare for next development iteration 2018-11-16 23:44:19 -05:00
Jesse Wilson
7f63a35ab1 [maven-release-plugin] prepare release parent-3.12.0 2018-11-16 23:44:12 -05:00
Jesse Wilson
7ef5f55d38 [maven-release-plugin] prepare for next development iteration 2018-07-12 23:41:09 -04:00
Jesse Wilson
95ae0cf421 [maven-release-plugin] prepare release parent-3.11.0 2018-07-12 23:41:00 -04:00
Jesse Wilson
44efb09904 Example of OkHttp+MockWebServer with UNIX domain sockets 2018-06-20 07:50:44 -04:00