From d0717965a9d3b67ca2748f098425cb8e8361b0f8 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Thu, 22 Jul 2021 18:28:06 +0200 Subject: [PATCH] [fenix] Allow insecure protocol usage when using local Nexus in CI. --- build.gradle | 4 ++++ buildSrc/build.gradle | 1 + mozilla-lint-rules/build.gradle | 1 + 3 files changed, 6 insertions(+) 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()