build.gradle 1.47 KB
Newer Older
fabio's avatar
fabio committed
1 2 3
apply plugin: 'com.android.application'

android {
4
    compileSdkVersion 27
5
    buildToolsVersion '28.0.0'
fabio's avatar
fabio committed
6 7
    defaultConfig {
        applicationId "eu.uwot.fabio.altcoinprices"
8
        minSdkVersion 14
9
        targetSdkVersion 27
10 11
        versionCode 67
        versionName '1.6.11'
fabio's avatar
fabio committed
12 13
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
cfabio's avatar
cfabio committed
14

cfabio's avatar
cfabio committed
15
    flavorDimensions "fdroid-googlePlayStore"
16 17 18 19 20 21 22 23 24 25 26

    productFlavors {
        fdroid {
            dimension "fdroid-googlePlayStore"
            applicationId "eu.uwot.fabio.altcoinprices"
        }

        googlePlayStore {
            dimension "fdroid-googlePlayStore"
            applicationId "eu.uwot.fabio.altcoinpricesgp"
        }
cfabio's avatar
cfabio committed
27
    }
28

fabio's avatar
fabio committed
29 30 31 32 33 34
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
35

cfabio's avatar
cfabio committed
36 37 38
    lintOptions {
        disable 'MissingTranslation'
    }
fabio's avatar
fabio committed
39 40 41
}

dependencies {
42 43
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
fabio's avatar
fabio committed
44 45
        exclude group: 'com.android.support', module: 'support-annotations'
    })
46 47 48
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.android.support:support-v4:27.1.1'
    implementation 'com.android.support:design:27.1.1'
49
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
50
    testImplementation 'junit:junit:4.12'
fabio's avatar
fabio committed
51
}