tor-browser

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

build.gradle (1945B)


      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 apply plugin: 'com.google.devtools.ksp'
      8 
      9 android {
     10    defaultConfig {
     11        ksp {
     12            arg("room.schemaLocation", "$projectDir/schemas".toString())
     13            arg("room.generateKotlin", "true")
     14        }
     15 
     16        javaCompileOptions {
     17            annotationProcessorOptions {
     18                arguments += ["room.incremental": "true"]
     19            }
     20        }
     21    }
     22 
     23    sourceSets {
     24        androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
     25    }
     26 
     27    namespace = 'mozilla.components.feature.share'
     28 }
     29 
     30 dependencies {
     31    implementation project(':components:support-base')
     32    implementation project(':components:support-ktx')
     33 
     34    implementation libs.androidx.lifecycle.runtime
     35    implementation libs.androidx.room.runtime
     36    ksp libs.androidx.room.compiler
     37    implementation libs.kotlinx.coroutines
     38 
     39    testImplementation project(':components:support-test')
     40 
     41    testImplementation libs.androidx.test.core
     42    testImplementation platform(libs.junit.bom)
     43    testImplementation libs.junit4
     44    testRuntimeOnly libs.junit.platform.launcher
     45    testRuntimeOnly libs.junit.vintage
     46    testImplementation libs.kotlinx.coroutines.test
     47    testImplementation libs.robolectric
     48 
     49    androidTestImplementation project(':components:support-android-test')
     50 
     51    androidTestImplementation libs.androidx.room.testing
     52    androidTestImplementation libs.androidx.test.core
     53    androidTestImplementation libs.androidx.test.rules
     54    androidTestImplementation libs.androidx.test.runner
     55 }
     56 
     57 apply from: '../../../common-config.gradle'
     58 apply from: '../../../publish.gradle'
     59 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)