Skip to content
Snippets Groups Projects
Select Git revision
  • f47ac1735aa3f6ee1cbcb3df35f84604248b3750
  • master default
  • add-license-1
  • 6.2
  • 6.0
  • 5.3b
  • 5.1
  • 4.12
  • 4.4
  • 4.3
10 results

build.gradle

Blame
  • build.gradle 1.45 KiB
    apply plugin: 'com.android.application'
    apply plugin: 'com.google.gms.google-services'
    android {
    
        compileSdkVersion 25
        buildToolsVersion '25.0.2'
    
        defaultConfig {
            applicationId "ohi.andre.consolelauncher"
    
            minSdkVersion 9
            targetSdkVersion 23
    
            versionCode 125
            versionName "6.3b"
        }
    
        buildTypes {
            release {
                minifyEnabled true
                shrinkResources true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
                zipAlignEnabled true
            }
            debug {
                minifyEnabled false
                shrinkResources false
                zipAlignEnabled true
            }
        }
    
        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_7
            targetCompatibility JavaVersion.VERSION_1_7
        }
    
        dependencies {
            compile 'com.android.support:appcompat-v7:23.4.0'
        }
    
        applicationVariants.all { variant ->
            def vn = variant.versionName
            def x = vn.substring(0, vn.length() - 1)
    
            variant.outputs.each { output ->
                output.outputFile = new File(
                        output.outputFile.parent,
                        output.outputFile.name.replace("app-release.apk", "${x}/${variant.applicationId}_${variant.versionName}_${new Date().format("dd-MM_hh.mm.ss")}.apk"))
            }
        }
    }
    dependencies {
        compile files('libs/anrwatchdog-1.3.0.jar')
        compile 'com.google.firebase:firebase-database:9.0.0'
    }