| apply plugin: 'com.android.application' |
| |
| group = 'com.artifex.mupdf' |
| version = '1.16.1' |
| |
| dependencies { |
| implementation 'androidx.appcompat:appcompat:1.1.+' |
| if (file('../lib/build.gradle').isFile()) |
| api project(':lib') |
| else |
| api 'com.artifex.mupdf:viewer:1.16.1' |
| } |
| |
| android { |
| compileSdkVersion 29 |
| defaultConfig { |
| minSdkVersion 16 |
| targetSdkVersion 29 |
| versionName '1.16.1' |
| versionCode 70 |
| } |
| |
| splits { |
| abi { |
| enable true |
| universalApk true |
| } |
| } |
| |
| bundle { |
| abi { |
| enableSplit true |
| } |
| } |
| |
| if (project.hasProperty('release_storeFile')) { |
| signingConfigs { |
| release { |
| storeFile file(release_storeFile) |
| storePassword release_storePassword |
| keyAlias release_keyAlias |
| keyPassword release_keyPassword |
| } |
| } |
| buildTypes { |
| release { |
| signingConfig signingConfigs.release |
| } |
| } |
| } |
| } |