tor-browser

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

build.gradle (1810B)


      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 apply plugin: 'com.android.library'
      6 apply plugin: 'kotlin-android'
      7 
      8 android {
      9    namespace = 'mozilla.components.support.appservices'
     10 }
     11 
     12 dependencies {
     13    api project(':components:concept-fetch') // Needed for rusthttp
     14    api project(':components:support-base') // Log.Priority is in the public api.
     15 
     16    implementation ComponentsDependencies.mozilla_appservices_errorsupport
     17    implementation ComponentsDependencies.mozilla_appservices_fxrelay
     18    implementation (ComponentsDependencies.mozilla_appservices_httpconfig) {
     19        // Override the version of concept-fetch that A-S depends on,
     20        // since we want to replace it with our own.
     21        exclude group: 'org.mozilla.components', module: 'concept-fetch'
     22    }
     23    implementation ComponentsDependencies.mozilla_appservices_init_rust_components
     24    implementation ComponentsDependencies.mozilla_appservices_rust_log_forwarder
     25    implementation libs.kotlinx.coroutines
     26 
     27    testImplementation project(':components:support-test')
     28 
     29    testImplementation ComponentsDependencies.mozilla_appservices_full_megazord_libsForTests
     30    testImplementation ComponentsDependencies.mozilla_appservices_rust_log_forwarder
     31    testImplementation libs.androidx.test.junit
     32    testImplementation platform(libs.junit.bom)
     33    testImplementation libs.junit4
     34    testRuntimeOnly libs.junit.platform.launcher
     35    testRuntimeOnly libs.junit.vintage
     36    testImplementation libs.robolectric
     37 }
     38 
     39 apply from: '../../../common-config.gradle'
     40 apply from: '../../../publish.gradle'
     41 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)