tor-browser

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

build.gradle (893B)


      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/fenix/plugins/apksize"))
     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 "org.json:json:20210307"
     24 }
     25 
     26 gradlePlugin {
     27    plugins.register("ApkSizePlugin") {
     28        id = "ApkSizePlugin"
     29        implementationClass = "ApkSizePlugin"
     30    }
     31 }