tor-browser

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

build.gradle (1781B)


      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 buildscript {
      5    repositories {
      6        gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository ->
      7            maven {
      8                url = repository
      9                if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) {
     10                    allowInsecureProtocol = true
     11                }
     12            }
     13        }
     14    }
     15    dependencies {
     16        classpath libs.kotlin.serialization
     17    }
     18 }
     19 
     20 apply plugin: 'com.android.library'
     21 apply plugin: 'kotlin-android'
     22 apply plugin: 'kotlinx-serialization'
     23 
     24 android {
     25    namespace = 'mozilla.components.support.remotesettings'
     26 }
     27 
     28 dependencies {
     29    implementation project(':components:support-appservices')
     30    implementation project(':components:support-base')
     31    implementation project(':components:support-ktx')
     32    implementation project(':components:support-utils')
     33 
     34    implementation ComponentsDependencies.mozilla_remote_settings
     35    implementation libs.androidx.work.runtime
     36    implementation libs.kotlinx.serialization.json
     37 
     38    testImplementation project(':components:support-test')
     39 
     40    testImplementation ComponentsDependencies.mozilla_remote_settings
     41    testImplementation libs.androidx.test.core
     42    testImplementation libs.androidx.test.junit
     43    testImplementation libs.androidx.work.testing
     44    testImplementation libs.kotlinx.coroutines.test
     45    testImplementation libs.mockito
     46    testImplementation libs.robolectric
     47 }
     48 
     49 apply from: '../../../common-config.gradle'
     50 apply from: '../../../publish.gradle'
     51 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)