blob: 84b6efc2a3bdef5abf077cb427806ce8bf7b9978 [file] [log] [blame]
apply plugin: 'com.android.library'
apply plugin: 'maven'
group = 'com.artifex.mupdf'
version = '1.19.0'
dependencies {
implementation 'androidx.appcompat:appcompat:1.1.+'
if (file('../jni/build.gradle').isFile())
api project(':jni')
else
api 'com.artifex.mupdf:fitz:1.19.0'
}
android {
compileSdkVersion 31
defaultConfig {
minSdkVersion 21
targetSdkVersion 31
}
}
uploadArchives {
repositories {
mavenDeployer {
if (project.hasProperty('MAVEN_REPO')) {
repository(url: MAVEN_REPO)
} else {
repository(url: "file://${System.properties['user.home']}/MAVEN")
}
pom {
artifactId = 'viewer'
project {
licenses {
license {
name 'GNU Affero General Public License'
url 'https://www.gnu.org/licenses/agpl-3.0.html'
}
}
}
}
}
}
}