diff options
Diffstat (limited to 'platform/android/example/app/build.gradle')
-rw-r--r-- | platform/android/example/app/build.gradle | 64 |
1 files changed, 22 insertions, 42 deletions
diff --git a/platform/android/example/app/build.gradle b/platform/android/example/app/build.gradle index 5d433deb..3a1b25b3 100644 --- a/platform/android/example/app/build.gradle +++ b/platform/android/example/app/build.gradle @@ -1,46 +1,26 @@ -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 - } - +apply plugin: 'com.android.application' + +android { + compileSdkVersion 23 + buildToolsVersion "23.0.2" + + defaultConfig { + applicationId "com.artifex.mupdf.example" + minSdkVersion 16 + targetSdkVersion 16 + versionCode 1 + versionName "1.0" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar','*.so']) - compile project(':mupdf') + compile fileTree(dir: 'libs', include: ['*.jar']) + compile 'com.android.support:appcompat-v7:23.4.0' + compile project(':mupdf') } |