| apply plugin: 'com.android.library' |
| apply plugin: 'maven' |
| |
| group = 'com.artifex.mupdf' |
| version = '1.16.1' |
| |
| dependencies { |
| if (file('../jni/build.gradle').isFile()) |
| api project(':jni') |
| else |
| api 'com.artifex.mupdf:fitz:1.16.1' |
| } |
| |
| android { |
| compileSdkVersion 26 |
| defaultConfig { |
| minSdkVersion 16 |
| targetSdkVersion 26 |
| } |
| } |
| |
| uploadArchives { |
| repositories { |
| mavenDeployer { |
| if (project.hasProperty('MAVEN_REPO')) { |
| repository(url: MAVEN_REPO) |
| } else { |
| repository(url: 'file://MAVEN') |
| } |
| pom { |
| artifactId = 'viewer' |
| project { |
| licenses { |
| license { |
| name 'GNU Affero General Public License' |
| url 'https://www.gnu.org/licenses/agpl-3.0.html' |
| } |
| } |
| } |
| } |
| } |
| } |
| } |