Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • 230-add-non-free-duolingo-app-icon
  • 201-improve-app-metadata
3 results

build.gradle

Blame
  • build.gradle 1.16 KiB
    apply plugin: 'com.android.application'
    
    android {
        compileSdkVersion 30
        buildToolsVersion "30.0.3"
    
        defaultConfig {
            applicationId "org.benoitharrault.ameixanonfree"
            minSdkVersion 16
            targetSdkVersion 30
            versionCode 197
            versionName "1.109.0"
            archivesBaseName = "$applicationId" + "_" + "$versionCode"
        }
    
        buildTypes {
            release {
                minifyEnabled true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
            debug {
                zipAlignEnabled true
            }
        }
    
        flavorDimensions "variant"
        productFlavors {
            chromatic {
                dimension "variant"
                resValue "string", "app_name", "Ameixa non-free"
                applicationIdSuffix "chromatic"
            }
        }
    
        compileOptions {
            encoding "UTF-8"
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
        }
    
        lintOptions {
            disable 'GoogleAppIndexingWarning'
        }
    
        packagingOptions {
            exclude 'META-INF/*'
        }
    }
    
    dependencies {
        implementation 'androidx.appcompat:appcompat:1.2.0'
    }