tor-browser

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

build.gradle (1826B)


      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 plugins {
     23    alias(libs.plugins.kotlin.android)
     24    alias(libs.plugins.kotlin.compose)
     25 }
     26 
     27 apply plugin: 'com.android.library'
     28 apply plugin: 'kotlin-android'
     29 apply plugin: 'kotlinx-serialization'
     30 
     31 android {
     32    buildFeatures {
     33        compose = true
     34    }
     35 
     36    namespace = 'mozilla.components.service.fxrelay'
     37 }
     38 
     39 dependencies {
     40    implementation ComponentsDependencies.mozilla_appservices_fxrelay
     41    implementation project(':components:compose-base')
     42    implementation project(":components:ui-icons")
     43    implementation project(':components:support-ktx')
     44    implementation project(":components:lib-state")
     45    implementation project(':components:service-firefox-accounts')
     46 
     47    implementation libs.androidx.compose.material3
     48    implementation libs.androidx.compose.ui
     49    implementation libs.androidx.compose.ui.tooling.preview
     50 
     51    testImplementation libs.androidx.test.core
     52    testImplementation libs.androidx.test.junit
     53    testImplementation libs.androidx.work.testing
     54    testImplementation libs.kotlinx.coroutines.test
     55 
     56 }
     57 
     58 apply from: '../../../common-config.gradle'
     59 apply from: '../../../publish.gradle'
     60 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)