summaryrefslogtreecommitdiff
path: root/platform/android/example/app/build.gradle
blob: 5d433debd6887824b62165d3f48b2610cd2aa68c (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
apply plugin: 'com.android.model.application'

model {

    android {
        compileSdkVersion = 23
        buildToolsVersion = "23.0.2"

        defaultConfig.with {
            applicationId = "com.artifex.mupdf.example"
            minSdkVersion.apiLevel = 8
            targetSdkVersion.apiLevel = 16
            versionCode = 1
            versionName = "1.0"
        }
    }

    android.buildTypes {
        release {
            minifyEnabled = false
            proguardFiles.add(file('proguard-rules.pro'))
        }
    }

    android.productFlavors {
        create("arm") {
            ndk.with {
                // You can customize the NDK configurations for each
                // productFlavors and buildTypes.
                abiFilters.add("armeabi")
            }

        }
    }

    /* This is important, it will run lint checks but won't abort build */
    android.lintOptions {
        abortOnError false
    }

}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar','*.so'])
    compile project(':mupdf')
}