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
Yuri Schimke
c1a6dec505
Allow Custom SSLSocketFactory without ALPN support ( #6862 )
...
* Allow Custom SSLSocketFactory without ALPN support
* Allow Custom SSLSocketFactory without ALPN support
* Revert reformatting
* Reuse delegate classes
2021-11-23 20:29:18 -05:00
Goooler
f037cf7d13
Convert android modules' gradle to kts ( #6797 )
2021-07-30 23:11:14 +03:00
Goooler
c729ac28ef
Optimize dependencies in android modules ( #6793 )
2021-07-30 11:38:36 +03:00
Goooler
6720813ede
Bump AGP to 7.0.0 and Java 11 target ( #6788 )
2021-07-29 18:58:03 +03:00
Yuri Schimke
b5117a5c10
Android dependency upgrade ( #6755 )
2021-07-25 13:54:13 +03:00
Yuri Schimke
be518bc3eb
Fix DoH tests for android ( #6751 )
2021-07-12 08:44:35 +01:00
Yuri Schimke
e53809767a
Kotlin 1.5.0 ( #6664 )
2021-06-14 08:34:15 +10:00
Yuri Schimke
ffeffc669c
Simplify gradle modules to avoid Intellij weirdness ( #6615 )
2021-04-24 18:27:11 +01:00
Yuri Schimke
ab34c10aca
Fix versions typo in gradle build files ( #6578 )
...
* Fix versions typo in build script
* Fix versions string
2021-03-30 21:28:47 -04:00
Yuri Schimke
083315a473
Launcher for quick tests ( #6437 )
2020-11-21 13:28:45 +00:00
Yuri Schimke
6ed5ec1c8c
Let's encrypt regression test ( #6423 )
2020-11-17 07:40:31 +00:00
Yuri Schimke
ff959f8fd5
Android Additional Tests ( #6420 )
2020-11-15 06:42:22 +00:00
Yuri Schimke
5bd0a88ff3
Avoid bouncy castle tests in Android ( #6418 )
2020-11-14 06:59:53 -05:00
Yuri Schimke
daac9be139
Fix Android tests post junit 5 ( #6408 )
2020-11-14 07:12:48 +00:00
Yuri Schimke
6342f2a9c8
Regression Test Module ( #6412 )
2020-11-13 07:09:56 +00:00
Yuri Schimke
e7990e31ca
Android dependency upgrade ( #6409 )
2020-11-11 07:03:41 +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
Adrian Cole
c7054e3448
Lints android-test ( #6288 )
2020-10-01 14:36:35 +08:00
Yuri Schimke
504faef750
Conscrypt 2.5.0 upgrade ( #6228 )
...
Conscrypt 2.5.0 upgrade with a workaround for changed Conscrypt API
2020-08-20 21:27:00 +01:00
Yuri Schimke
d1490698a3
Make the Android tests pass on <= 23
2020-05-19 18:41:09 +01:00
Yuri Schimke
67f77be6b0
Fix for insecureHost on Android ( #6063 )
2020-05-18 20:23:00 +01:00
Yuri Schimke
198900de0b
Fix isAndroid check ( #6055 )
...
Fix for OkHttp platform issues in AndroidStudio (e.g. when running as a plugin)
square/retrofit#3389
2020-05-16 09:09:46 +01:00
Yuri Schimke
80bee1afdd
Confirm android logging disabled ( #6008 )
2020-05-02 09:12:41 -04:00
Yuri Schimke
93ac4fa3b9
Android Cache Test ( #6010 )
2020-05-01 18:47:29 +01:00
Yuri Schimke
5c10006e0a
Centralise logging behind JUL ( #6005 )
...
Use JUL, but wire up to the Android Log.
Use `adb shell setprop log.tag.okhttp.Http2 DEBUG` to enable logging for known levels.
2020-04-30 19:04:19 +01:00
Jesse Wilson
f4859c763b
Merge pull request #5987 from yschimke/android_fix
...
Fix for android test
2020-04-25 20:47:22 -04:00
Yuri Schimke
27c78a7a47
Fix for android
2020-04-25 10:16:52 +01:00
Yuri Schimke
d56eb776e5
Android docs for selecting devices
2020-04-25 08:17:28 +01:00
Yuri Schimke
20812ac497
Simpler emulator instructions ( #5962 )
2020-04-19 08:26:31 +01:00
Yuri Schimke
27454cdec7
Test which TrustManager method called on Android
2020-04-18 10:08:30 +01:00
Yuri Schimke
474b13f86b
Workaround bouncycastle random issue ( #5942 )
...
* Workaround bouncycastle random issue
* Cleanup
2020-04-12 18:46:48 -04:00
Yuri Schimke
86b7ba5f2a
Enable BouncyCastle on Android and add some testing ( #5936 )
2020-04-11 17:35:27 +01:00
Yuri Schimke
27dbedca9d
Migrate to AndroidX for tests
2020-04-09 08:29:13 +01:00
Yuri Schimke
1a07f49bcb
Kotlin 1.3.71 and misc dep upgrades ( #5925 )
2020-04-08 17:52:33 +01:00
Yuri Schimke
3414fe42b7
Close Android test properly in case it passes ( #5905 )
...
* Close test properly in case it passes
* Fix
2020-03-29 22:21:49 -04:00
Yuri Schimke
e8cfef759f
Force cancel all events on client ( #5901 )
2020-03-26 06:45:34 +00:00
Yuri Schimke
5a9c5a151c
Android comparison of client APIs ( #5886 )
2020-03-24 22:05:44 +00:00
Yuri Schimke
b022927d13
Dependency Upgrades
2020-03-21 14:04:43 +00:00
Jesse Wilson
0b2c4cca9e
Catch IllegalArgumentException from Android internals ( #5841 )
...
* Catch IllegalArgumentException from Android internals
* import order
2020-03-04 14:54:21 -05:00
Yuri Schimke
2cba455e37
Fixes for Android Test (including R) ( #5817 )
2020-02-23 08:11:06 +00:00
Jesse Wilson
93efc26a15
Merge pull request #5703 from yschimke/cleaner_fix
...
Allow Handshake.toString() for debugging, even when CertificateCleaner will fail
2020-01-11 16:57:03 -05:00
Jesse Wilson
fd0919cfa4
OkHttp 4.3.1 is released
2020-01-07 13:44:16 -05:00
Yuri Schimke
15339353c1
Set hostname on Android 5.0 ( #5702 )
...
* Set hostname on Android 5.0
Android 5.0 requires explicit call to set the hostname.
* Fix test
* Fix
2020-01-06 21:54:52 -05:00
Yuri Schimke
ff856abe91
Allow toString() for debugging, even when cert cleaner will fail
2020-01-06 06:43:30 +00:00
Yuri Schimke
c0f0df0345
Fix missing import in Android Test ( #5697 )
2020-01-05 07:52:47 +00:00
Yuri Schimke
ed9af27531
Android 10 support for X509TrustManager ( #5688 )
2020-01-05 07:51:53 +00:00
Yuri Schimke
c7b7b6dcb1
Google Play assumption failures handled ( #5692 )
...
* Google Play assumption failures handled
* import fixes
2020-01-04 15:08:57 -05:00
Jesse Wilson
fb8fb0fd31
Merge pull request #5691 from yschimke/kitkat
...
Handle Android 5.0 socket type in tests
2020-01-04 14:47:21 -05:00