tor-browser

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

build.gradle (2378B)


      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 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
      6 
      7 apply plugin: 'com.android.library'
      8 apply plugin: 'kotlin-android'
      9 
     10 android {
     11    defaultConfig {
     12        testInstrumentationRunnerArgument "clearPackageData", "true"
     13        testInstrumentationRunnerArgument "listener", "leakcanary.FailTestOnLeakRunListener"
     14    }
     15 
     16    namespace = 'mozilla.components.browser.session.storage'
     17 }
     18 
     19 dependencies {
     20    api project(':components:browser-state')
     21 
     22    implementation project(':components:concept-engine')
     23    implementation project(':components:support-ktx')
     24    implementation project(':components:support-utils')
     25 
     26    implementation libs.androidx.browser
     27    implementation libs.androidx.core.ktx
     28    implementation libs.androidx.drawerlayout
     29    implementation libs.androidx.lifecycle.process
     30    implementation libs.androidx.lifecycle.runtime
     31    implementation libs.kotlinx.coroutines
     32 
     33    testImplementation project(':components:feature-tabs')
     34    testImplementation project(':components:support-test')
     35    testImplementation project(':components:support-test-fakes')
     36    testImplementation project(':components:support-test-libstate')
     37 
     38    testImplementation libs.androidx.test.core
     39    testImplementation libs.androidx.test.junit
     40    testImplementation libs.kotlinx.coroutines.test
     41    testImplementation libs.robolectric
     42 
     43    androidTestImplementation project(':components:browser-engine-gecko')
     44    androidTestImplementation project(':components:feature-tabs')
     45    androidTestImplementation project(':components:support-android-test')
     46 
     47    androidTestImplementation libs.androidx.test.core
     48    androidTestImplementation libs.androidx.test.espresso.core
     49    androidTestImplementation libs.androidx.test.junit
     50    androidTestImplementation libs.androidx.test.rules
     51    androidTestImplementation libs.androidx.test.runner
     52    androidTestImplementation libs.androidx.test.uiautomator
     53    androidTestImplementation libs.leakcanary.instrumentation
     54    androidTestImplementation libs.mockwebserver
     55 }
     56 
     57 apply from: '../../../common-config.gradle'
     58 apply from: '../../../publish.gradle'
     59 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)