blob: 59db3b38cce1af69b515459303a047af53cc1daf [file] [log] [blame]
apply plugin: 'com.android.application'
group = 'com.artifex.mupdf'
version = '1.20.1a'
dependencies {
if (file('../lib/build.gradle').isFile())
api project(':lib')
else
api 'com.artifex.mupdf:viewer:1.20.1a'
}
android {
compileSdkVersion 31
defaultConfig {
minSdkVersion 21
targetSdkVersion 31
versionName '1.20.1a'
versionCode 111
}
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
ndk {
debugSymbolLevel 'FULL'
}
}
}
}
}