参考:https://discuss.gradle.org/t/how-do-i-fix-the-trustanchors-parameter-must-be-non-empty/26976 https://medium.com/@gustavocalcaterra/debugging-yet-another-ssl-tls-error-the-trustanchors-parameter-must-be-non-empty-7dd9cb300f43
本人出问题的jdk1.8.0-41 换了open jdk11 就好了