summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKWearTestApp/build.gradle
blob: 7c3ffd8ce54782589d86692124d58c365c8e3ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apply plugin: 'com.android.application'

android {
    compileSdkVersion rootProject.ext.compileSdkVersion
    buildToolsVersion rootProject.ext.buildToolsVersion

    defaultConfig {
        applicationId "com.mapbox.mapboxsdk.testapp"
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode rootProject.ext.versionCode
        versionName rootProject.ext.versionName
    }

    lintOptions {
        baseline file("lint-baseline.xml")
        disable 'MissingTranslation'
    }

    buildTypes {
        debug {
            testCoverageEnabled = true
        }
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile(project(':MapboxGLAndroidSDK')) {
        transitive = true
    }

    // Wear
    compile rootProject.ext.dep.wearCompile
    provided rootProject.ext.dep.wearProvided

    // Leak Canary
    debugCompile rootProject.ext.dep.leakCanaryDebug
    releaseCompile rootProject.ext.dep.leakCanaryRelease
    testCompile rootProject.ext.dep.leakCanaryTest

    // Testing dependencies
    testCompile rootProject.ext.dep.junit
    testCompile rootProject.ext.dep.mockito
}

apply from: 'gradle-config.gradle'
apply from: 'gradle-checkstyle.gradle'
apply from: '../gradle-lint.gradle'