tor-browser

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

common-config.gradle (1486B)


      1 android {
      2    buildTypes {
      3        release {
      4            minifyEnabled = false
      5            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      6        }
      7    }
      8 
      9    compileSdk { version = release(config.compileSdkMajorVersion) { minorApiLevel = config.compileSdkMinorVersion } }
     10 
     11    defaultConfig {
     12        minSdk config.minSdkVersion
     13        targetSdk config.targetSdkVersion
     14        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
     15    }
     16 
     17    lint {
     18        warningsAsErrors = true
     19        abortOnError = false
     20 
     21                // With our L10N process its totally possible to have missing or (temporarily) extra translations.
     22        disable 'MissingTranslation',
     23                'ExtraTranslation',
     24                'MissingDefaultResource',
     25                // We do not want to enforce this as a generic rule for all languages (see #6117, #6056, #6118)
     26                'TypographyEllipsis',
     27                // https://github.com/mozilla-mobile/android-components/issues/10641
     28                'UnspecifiedImmutableFlag',
     29                // https://bugzilla.mozilla.org/show_bug.cgi?id=1795427
     30                'UnusedResources',
     31                // "We do not impose rules on locales"
     32                // https://github.com/mozilla-mobile/android-components/pull/11069
     33                'TypographyDashes'
     34        sarifReport = true
     35        sarifOutput = file("../../../build/reports/lint/lint-report-${project.name}.sarif.json")
     36    }
     37 }