tor-browser

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

build.gradle (1752B)


      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 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
     11 
     12 apply plugin: 'com.android.library'
     13 
     14 android {
     15    buildFeatures {
     16        compose = true
     17    }
     18 
     19    namespace = 'mozilla.components.lib.state'
     20 }
     21 
     22 dependencies {
     23    implementation project(':components:support-base')
     24    implementation project(':components:support-ktx')
     25    implementation project(':components:support-utils')
     26 
     27    implementation platform(libs.androidx.compose.bom)
     28    implementation libs.androidx.compose.runtime.saveable
     29    implementation libs.androidx.fragment
     30    implementation libs.androidx.lifecycle.compose
     31    implementation libs.androidx.lifecycle.process
     32    implementation libs.androidx.lifecycle.viewmodel.compose
     33    implementation libs.androidx.navigation.fragment
     34    implementation libs.kotlinx.coroutines
     35 
     36    testImplementation project(':components:support-test')
     37 
     38    testImplementation libs.androidx.compose.ui.test
     39    testImplementation libs.androidx.test.core
     40    testImplementation libs.androidx.test.junit
     41    testImplementation libs.kotlinx.coroutines.test
     42    testImplementation libs.robolectric
     43 
     44    androidTestImplementation libs.androidx.compose.ui.test
     45    androidTestImplementation libs.androidx.compose.ui.test.manifest
     46    androidTestImplementation libs.androidx.test.junit
     47 }
     48 
     49 apply from: '../../../common-config.gradle'
     50 apply from: '../../../publish.gradle'
     51 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)