tor-browser

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

settings.gradle (939B)


      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 pluginManagement {
      6    if (!gradle.root.hasProperty("mozconfig")){
      7        apply from: file('../../../gradle/mozconfig.gradle')
      8    } else {
      9        gradle.ext.mozconfig = gradle.root.mozconfig
     10    }
     11 
     12    repositories {
     13        gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository ->
     14            maven {
     15                url = repository
     16                if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) {
     17                    allowInsecureProtocol = true
     18                }
     19            }
     20        }
     21    }
     22 }
     23 
     24 dependencyResolutionManagement {
     25    versionCatalogs {
     26        libs {
     27            from(files("../../../../../gradle/libs.versions.toml"))
     28        }
     29    }
     30 }
     31 
     32 include 'apilint'
     33 include 'apidoc-plugin'