build.gradle (820B)
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 plugins { 6 alias(libs.plugins.kotlin.dsl) 7 } 8 9 layout.buildDirectory.set(file("${gradle.mozconfig.topobjdir}/gradle/build/mobile/android/android-components/plugins/config")) 10 11 repositories { 12 gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository -> 13 maven { 14 url = repository 15 if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) { 16 allowInsecureProtocol = true 17 } 18 } 19 } 20 } 21 22 gradlePlugin { 23 plugins.register("mozac.ConfigPlugin") { 24 id = "mozac.ConfigPlugin" 25 implementationClass = "ConfigPlugin" 26 } 27 }