Bug 1876335 - use GRADLE_MAVEN_REPOSITORIES in more places. r=owlish,geckoview-review...
[gecko.git] / mobile / android / android-components / plugins / publicsuffixlist / settings.gradle
blobbcc9e9afc24400c93e24262804dc08189101b6e5
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
7 pluginManagement {
8     apply from: file('../../../gradle/mozconfig.gradle')
10     repositories {
11         gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository ->
12             maven {
13                 url repository
14                 if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) {
15                     allowInsecureProtocol = true
16                 }
17             }
18         }
19     }
21     includeBuild("../dependencies")
24 plugins {
25     id "mozac.DependenciesPlugin"