具体过程如下: download-osmf-zip: [get] Getting: http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download [get] To: /root/.gradle/gradleFx/sdks/66d0cafb7bdc0d11a929d2ad5ddac64ef8d3131f/in/OSMF_1.0.zip [get] http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download permanently moved to https://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download [get] https://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download moved to http://downloads.sourceforge.net/project/osmf.adobe/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip?r=&ts=1461632584&use_mirror=jaist
FAILURE: Build failed with an exception.
The following error occurred while executing this line: /root/.gradle/gradleFx/sdks/66d0cafb7bdc0d11a929d2ad5ddac64ef8d3131f/frameworks/downloads.xml:125: The following error occurred while executing this line: /root/.gradle/gradleFx/sdks/66d0cafb7bdc0d11a929d2ad5ddac64ef8d3131f/frameworks/downloads.xml:144: Redirection detected from https to http. Protocol switch unsafe, not allowed.
作者在 github 上说这个是 sourceforge.net 配置的问题,说现在应该已经没问题了。但是我从我这里访问,还是会从 http 跳到 https ,再从 https 跳到 http 。
有人需要过这类问题如何解决吗?