报错信息如下:
Caused by: groovy.lang.MissingPropertyException: Could not set unknown property ‘allowInsecureProtocol’ for repository container of type org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.
at org.gradle.internal.metaobject.AbstractDynamicObject.setMissingProperty(AbstractDynamicObject.java:118)
at org.gradle.internal.metaobject.ConfigureDelegate.setProperty(ConfigureDelegate.java:104)
解决方法: