tor-browser

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

build.gradle (1792B)


      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        applicationId "org.mozilla.geckoview.example.messaging"
     15        minSdk project.ext.minSdkVersion
     16        targetSdk project.ext.targetSdkVersion
     17        versionCode 1
     18        versionName "1.0"
     19    }
     20    buildTypes {
     21        release {
     22            minifyEnabled = false
     23            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
     24        }
     25    }
     26 
     27    // By default the android plugins ignores folders that start with `_`, but
     28    // we need those in web extensions.
     29    // See also:
     30    //  - https://issuetracker.google.com/issues/36911326
     31    //  - https://stackoverflow.com/questions/9206117/how-to-workaround-autoomitting-fiiles-folders-starting-with-underscore-in
     32    aaptOptions {
     33        ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
     34        noCompress 'ja'
     35    }
     36 
     37    namespace = 'org.mozilla.geckoview.example.messaging'
     38 }
     39 
     40 dependencies {
     41    implementation fileTree(dir: 'libs', include: ['*.jar'])
     42    // Replace this with implementation "org.mozilla.geckoview:geckoview-${geckoviewChannel}:${geckoviewVersion}"
     43    implementation project(path: ':geckoview')
     44 
     45    implementation libs.androidx.annotation
     46    implementation libs.androidx.appcompat
     47    implementation libs.androidx.constraintlayout
     48 
     49    testImplementation platform(libs.junit.bom)
     50    testImplementation libs.junit4
     51    testRuntimeOnly libs.junit.platform.launcher
     52    testRuntimeOnly libs.junit.vintage
     53 }