瀏覽代碼

Explicitly use TLS 1.2 in Gradle (#63880)

Rene Groeschke 5 年之前
父節點
當前提交
0e0392ca7b
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      gradle.properties

+ 4 - 0
gradle.properties

@@ -8,3 +8,7 @@ systemProp.org.gradle.dependency.duplicate.project.detection=false
 
 # Enforce the build to fail on deprecated gradle api usage
 systemProp.org.gradle.warning.mode=fail
+
+# forcing to use TLS1.2 to avoid failure in vault
+# see https://github.com/hashicorp/vault/issues/8750#issuecomment-631236121
+systemProp.jdk.tls.client.protocols=TLSv1.2