build.gradle (899B)
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/. */ 4 5 buildscript { 6 repositories { 7 gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository -> 8 maven { 9 url = repository 10 if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) { 11 allowInsecureProtocol = true 12 } 13 } 14 } 15 } 16 } 17 18 allprojects { 19 repositories { 20 gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository -> 21 maven { 22 url = repository 23 if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) { 24 allowInsecureProtocol = true 25 } 26 } 27 } 28 } 29 }