tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

settings.gradle (1047B)


      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 // Prevents gradle builds from looking for a root settings.gradle
      6 
      7 pluginManagement {
      8    if (!gradle.root.hasProperty("mozconfig")){
      9        apply from: file('../../../gradle/mozconfig.gradle')
     10    } else {
     11        gradle.ext.mozconfig = gradle.root.mozconfig
     12    }
     13 
     14    repositories {
     15        gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository ->
     16            maven {
     17                url = repository
     18                if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) {
     19                    allowInsecureProtocol = true
     20                }
     21            }
     22        }
     23    }
     24 
     25    includeBuild("../dependencies")
     26 }
     27 
     28 plugins {
     29    id "mozac.DependenciesPlugin"
     30 }
     31 
     32 dependencyResolutionManagement {
     33    versionCatalogs {
     34        libs {
     35            from(files("../../../../../gradle/libs.versions.toml"))
     36        }
     37    }
     38 }