Bug 1876335 - use GRADLE_MAVEN_REPOSITORIES in more places. r=owlish,geckoview-review...
[gecko.git] / mobile / android / fenix / plugins / fenixdependencies / settings.gradle
blob16701d4aacbe460563a89ce515e6c65b4e1f069c
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 // Prevents gradle builds from looking for a root settings.gradle
6 pluginManagement {
7     apply from: file('../../../gradle/mozconfig.gradle')
9     repositories {
10         gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository ->
11             maven {
12                 url repository
13                 if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) {
14                     allowInsecureProtocol = true
15                 }
16             }
17         }
18     }