summaryrefslogtreecommitdiff
path: root/tools/shell/android/app/build.gradle
blob: dc431634648b742c4e9d2c1c79e78d51abec8592 (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
apply plugin: 'com.android.application'

android {
    compileSdkVersion 28

    defaultConfig {
        applicationId = 'com.mapbox.mapboxsdk.maps.shell'
        minSdkVersion 14
        targetSdkVersion 28

        ndk {
            abiFilters 'arm64-v8a'
        }

        externalNativeBuild {
            cmake {
                arguments '-DANDROID_CCACHE=ccache'
                arguments '-DANDROID_STL=c++_static'
                targets 'mbgl-shell'
            }
        }

        android {
            testBuildType 'release'
        }
    }

    externalNativeBuild {
        cmake {
            version '3.10.2'
            path '../../../../CMakeLists.txt'
        }
    }

    buildTypes {
        release {
            signingConfig signingConfigs.debug
        }
    }
}