Yuri Schimke
076e976c10
Picocli ( #5207 )
...
Switch from airline to picocli, which is more graal compatible and has nicer default output.
2019-07-19 15:15:05 +01:00
Yuri Schimke
ed25f41e48
Basic Android Instrumentation Test ( #5253 )
...
Runnable with
```
ANDROID_SDK_ROOT=... ./gradlew connectedCheck
```
2019-07-16 23:15:20 +01:00
Yuri Schimke
fad620526f
Kotlin upgrade to 1.3.41
...
Automatically prompted by IDE
2019-07-06 19:58:33 +01: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
Yuri Schimke
7bba4a0e36
Bouncy castle upgrade ( #5264 )
...
* Bouncy castle upgrade
* Testing on more platforms
* Revert CI change
2019-07-03 12:19:41 -04:00
Zac Sweers
81b0feeea9
Parallelize tests based on available processors ( #4902 )
...
* Parallelize tests based on available processors
This brings down `:okhttp:test` (the biggest bottle neck) time on my local machine from ~2m11s to ~39s.
Build scans:
* Without parallelization: https://scans.gradle.com/s/nmjkdjflng4o4
* With parallelization: https://scans.gradle.com/s/3oebsmkfwetiy
2019-06-30 07:38:12 +01:00
Jesse Wilson
d1b99e6925
Merge pull request #5239 from square/jakew/eleven/2019-06-25
...
Run error-prone on JDK 11
2019-06-26 00:20:28 -04:00
Jake Wharton
4607fe8768
Run error-prone on JDK 11
...
JDK 12+ is where it currently is unsupported.
2019-06-25 22:56:36 -04:00
Jake Wharton
0bdd6790f4
Target Java 8 bytecode for Java and Kotlin
2019-06-25 21:09:33 -04:00
Yuri Schimke
b731c71de9
Kotlin 1.3.40 upgrade ( #5210 )
2019-06-20 19:44:13 +01:00
Jesse Wilson
70cd67c75d
Tweak the MkDocs build
...
Retain the 3.x docs by doing a dirty MkDocs build
Build more Dokka projects
2019-06-20 00:01:47 -04:00
AJ
682db1252c
Use MkDocs to generate website
...
This PR sets up [MkDocs](https://squidfunk.github.io/mkdocs-material/ ) static site generation for both user documentation and API docs.
2019-06-19 18:14:21 -07:00
Yuri Schimke
e5199c4737
Bump alpn versions
2019-06-19 13:05:11 +01:00
Yuri Schimke
7337b1d7ac
Kotlin 1.3.31 upgrade ( #5064 )
2019-05-18 06:43:22 -04:00
Yuri Schimke
a49b636e34
Convert okcurl to Kotlin ( #5033 )
...
* Rename File
* Convert Main to Kotlin
* Review comments
2019-05-11 18:00:18 +01:00
Yuri Schimke
5f93ef292d
Avoid errorprone in JDK12
2019-04-18 07:15:14 +01:00
Jesse Wilson
5828ebf9da
Merge pull request #4925 from yschimke/spotless
...
Spotless code formatter
2019-04-12 16:16:24 -04:00
Yuri Schimke
9bd3b10e61
Kotlin 1.3.30 Upgrade ( #4931 )
2019-04-12 20:17:38 +01:00
Yuri Schimke
f3949c23bc
Spotless code formatter
2019-04-10 22:44:58 +01:00
Yuri Schimke
9e12bc4d60
Improve PlatformRule autodetection ( #4920 )
...
Run more platforms in circleci.
Auto detect platform in IDE.
Surface more platform assumptions in tests.
2019-04-10 19:31:35 +01:00
Jesse Wilson
06a18092fd
OkHttp 3.14.1 is out
2019-04-10 13:47:28 -04:00
Yuri Schimke
b8f73ba12b
Conscrypt Test Fix ( #4892 )
...
Fix conscrypt tests, failing due to ordering of security providers setup etc
2019-04-08 19:52:00 +01:00
Jesse Wilson
11805c14a4
Put apply plugin at the top of the build
2019-04-07 16:55:52 -04:00
Jake Wharton
e269499af0
Error on missing fail in tests
2019-04-05 12:05:42 -04:00
Yuri Schimke
997dc697e0
Conscrypt 2.1.0 upgrade ( #4868 )
2019-04-04 20:43:05 +01:00
Yuri Schimke
1f93359f15
Run CircleCI with multiple platforms ( #4864 )
...
Run in CircleCI.
Also conditionally disables tests that show issues with Conscrypt/OkHttp (client auth etc).
2019-04-03 15:45:05 +01:00
Zac Sweers
b042f1e499
Add Module.md files for different artifacts with module and package info ( #4844 )
...
* Add Module.md files for different artifacts with module and package info
This is what dokka uses to document packages and modules. Deleted the `package-info.kt` file as it doesn't do anything on its own, but can restore if it's still wanted
* Add Module.md for mockwebserver
* Only specify module if it exists
A bunch of samples don't have modules or readmes
* Remove package descriptors
2019-04-02 07:27:49 -04:00
Zac Sweers
e8c5d77a27
Specify jdk 8 for dokka ( #4845 )
...
* Specify jdk 8 for dokka
Since the project targets java 8
* Fix location
Not sure how this happened
2019-04-01 21:14:32 -04:00
Zac Sweers
cf3d3216ac
Add Okio docs link for dokka linking
...
Now Okio types correctly link
2019-03-31 18:02:01 -07:00
Jake Wharton
0e9a5c8054
Make error-prone validate missing override annotations
2019-03-31 13:04:22 -04:00
Amir Livneh
8e88f8430d
Log full exception on test failure
...
Too little information is logged today when tests fail in CI. This makes logging a little more verbose.
Before:
```
okhttp3.internal.ws.RealWebSocketTest > unexpectedPongsDoNotInterfereWithFailureDetection FAILED
java.lang.AssertionError at RealWebSocketTest.java:349
```
After:
```
okhttp3.internal.ws.RealWebSocketTest > unexpectedPongsDoNotInterfereWithFailureDetection FAILED
java.lang.AssertionError:
Expecting:
<1928.0>
to be close to:
<1500.0>
by less than <250.0> but difference was <428.0>.
(a difference of exactly <250.0> being considered valid)
at okhttp3.internal.ws.RealWebSocketTest.unexpectedPongsDoNotInterfereWithFailureDetection(RealWebSocketTest.java:349)
```
2019-03-31 11:46:34 -04:00
Jesse Wilson
e458bd0a90
Configure Dokka
2019-03-30 17:28:37 -04:00
Yuri Schimke
e2cfcb35ea
Okio upgrade post kotlin ( #4814 )
...
Okio 2.2.2 upgrade and adopt kotlin friendly API
2019-03-29 21:54:10 +00:00
Amir Livneh
4224583165
Revert "Measure time"
...
This reverts commit 853a80d3ff .
2019-03-26 23:10:55 -07:00
Amir Livneh
853a80d3ff
Measure time
2019-03-26 23:06:05 -07:00
Yuri Schimke
37fe00a73b
CircleCI testing with test collection
2019-03-22 21:37:57 +00:00
Jake Wharton
06fbbdbcb1
Restore error-prone compiler
2019-03-21 20:49:40 -04:00
Jesse Wilson
7eb897ab2e
Convert some basic types to Kotlin ( #4741 )
...
* Convert some basic types to Kotlin
okhttp/src/main/java/okhttp3/Authenticator.java
okhttp/src/main/java/okhttp3/Call.java
okhttp/src/main/java/okhttp3/Callback.java
okhttp/src/main/java/okhttp3/Connection.java
okhttp/src/main/java/okhttp3/CookieJar.java
okhttp/src/main/java/okhttp3/Dns.java
okhttp/src/main/java/okhttp3/EventListener.java
okhttp/src/main/java/okhttp3/Interceptor.java
okhttp/src/main/java/okhttp3/Protocol.java
okhttp/src/main/java/okhttp3/TlsVersion.java
okhttp/src/main/java/okhttp3/WebSocket.java
okhttp/src/main/java/okhttp3/WebSocketListener.java
* Rename newly-converted Kotlin files from .java to .kt
2019-03-18 18:41:53 -04:00
Jesse Wilson
b6573d5558
Hook up japicmp for all stable artifacts
...
This excludes okhttp-sse and okhttp-dnsoverhttps
2019-03-18 01:03:52 -06:00
Jesse Wilson
dc1e870d24
Basic Gradle support
2019-03-17 00:16:26 -04:00