tor-browser

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

build.gradle (1522B)


      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 plugins {
      6    alias(libs.plugins.kotlin.android)
      7    alias(libs.plugins.kotlin.compose)
      8 }
      9 
     10 apply plugin: 'com.android.library'
     11 
     12 android {
     13    sourceSets {
     14        androidTest {
     15            // Use the same resources as the unit tests
     16            resources.srcDirs += ['src/test/resources']
     17        }
     18    }
     19 
     20    buildFeatures {
     21        compose = true
     22    }
     23 
     24    namespace = 'mozilla.components.support.images'
     25 }
     26 
     27 dependencies {
     28    implementation project(':components:concept-fetch')
     29    implementation project(':components:support-base')
     30 
     31    implementation platform(libs.androidx.compose.bom)
     32    implementation libs.androidx.compose.material3
     33    implementation libs.androidx.compose.ui
     34    implementation libs.kotlinx.coroutines
     35 
     36    testImplementation project(':components:support-test')
     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 libs.androidx.test.core
     44    androidTestImplementation libs.androidx.test.rules
     45    androidTestImplementation libs.androidx.test.runner
     46 }
     47 
     48 apply from: '../../../common-config.gradle'
     49 apply from: '../../../publish.gradle'
     50 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)