Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
disable TLS v1.3 protocol
Browse files Browse the repository at this point in the history
We use Gradle coverall plugin to send the data generated by coverage
plugin to coverall.io, so our user can view the coverage report online.

However, the TLSv1.3 protocol used by JDK 11 is not supported by the
coverall.io, actually it gives the error bellow:

javax.net.ssl.SSLProtocolException: Connection reset by peer (Write failed)

Let’s disable TLSv1.3 protocol by restricting the scope of protocols in
gradle.properties.[1]

[1]kt3k/coveralls-gradle-plugin#85
  • Loading branch information
fzdy1914 committed Feb 20, 2019
1 parent 9729249 commit 64df61b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
org.gradle.parallel=false
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=utf-8
systemProp.jdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2"

0 comments on commit 64df61b

Please sign in to comment.