diff --git a/build.gradle b/build.gradle index 3b1cb9781a..0547bb1fd9 100644 --- a/build.gradle +++ b/build.gradle @@ -26,6 +26,7 @@ buildscript { if (project.hasProperty("googleRepo")) { maven { name "Google" + allowInsecureProtocol true // Local Nexus in CI uses HTTP url project.property("googleRepo") } } else { @@ -45,6 +46,7 @@ buildscript { maven { name "MavenCentral" url project.property("centralRepo") + allowInsecureProtocol true // Local Nexus in CI uses HTTP } } else { mavenCentral() { @@ -104,6 +106,7 @@ allprojects { maven { name "Google" url project.property("googleRepo") + allowInsecureProtocol true // Local Nexus in CI uses HTTP } } else { google() { @@ -121,6 +124,7 @@ allprojects { maven { name "MavenCentral" url project.property("centralRepo") + allowInsecureProtocol true // Local Nexus in CI uses HTTP } } else { mavenCentral() { diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index b9646576a2..d2cf0f015a 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -11,6 +11,7 @@ repositories { maven { name "MavenCentral" url project.property("centralRepo") + allowInsecureProtocol true // Local Nexus in CI uses HTTP } } else { mavenCentral() diff --git a/mozilla-lint-rules/build.gradle b/mozilla-lint-rules/build.gradle index c4db4cc7e9..4a9193368d 100644 --- a/mozilla-lint-rules/build.gradle +++ b/mozilla-lint-rules/build.gradle @@ -13,6 +13,7 @@ repositories { maven { name "MavenCentral" url project.property("centralRepo") + allowInsecureProtocol true // Local Nexus in CI uses HTTP } } else { mavenCentral()