tor-browser

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

build.gradle (1048B)


      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/publicsuffixlist"))
     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 dependencies {
     23    implementation libs.okhttp
     24    implementation libs.okio
     25 
     26    compileOnly libs.android.gradle.plugin
     27 }
     28 
     29 gradlePlugin {
     30    plugins.register("mozac.PublicSuffixListPlugin") {
     31        id = "mozac.PublicSuffixListPlugin"
     32        implementationClass = "mozilla.components.gradle.plugins.PublicSuffixListPlugin"
     33    }
     34 }