tor-browser

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

build.gradle (1615B)


      1 plugins {
      2    alias(libs.plugins.kotlin.android)
      3 }
      4 
      5 apply plugin: 'com.android.application'
      6 
      7 android {
      8    buildToolsVersion = project.ext.buildToolsVersion
      9    compileSdk {
     10        version = release(project.ext.compileSdkMajorVersion) { minorApiLevel = project.ext.compileSdkMinorVersion }
     11    }
     12 
     13    defaultConfig {
     14        targetSdk project.ext.targetSdkVersion
     15        minSdk project.ext.minSdkVersion
     16        manifestPlaceholders = project.ext.manifestPlaceholders
     17 
     18        applicationId "org.mozilla.geckoview.test_runner"
     19        versionCode project.ext.versionCode
     20        versionName project.ext.versionName
     21    }
     22 
     23    buildTypes {
     24        release {
     25            minifyEnabled = false
     26            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
     27        }
     28    }
     29 
     30    // By default the android plugins ignores folders that start with `_`, but
     31    // we need those in web extensions.
     32    // See also:
     33    //  - https://issuetracker.google.com/issues/36911326
     34    //  - https://stackoverflow.com/questions/9206117/how-to-workaround-autoomitting-fiiles-folders-starting-with-underscore-in
     35    aaptOptions {
     36        ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
     37        noCompress 'ja'
     38    }
     39 
     40    namespace = 'org.mozilla.geckoview.test_runner'
     41 }
     42 
     43 dependencies {
     44    implementation project(path: ':geckoview')
     45 
     46    implementation libs.androidx.annotation
     47    implementation libs.androidx.appcompat
     48    implementation libs.androidx.constraintlayout
     49    implementation libs.androidx.preferences
     50    implementation libs.google.material
     51 }