tor-browser

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

build.gradle (1690B)


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