| apply plugin: 'com.android.library' |
| apply plugin: 'maven' |
| |
| group = 'com.artifex.mupdf' |
| version = '1.11.0' |
| |
| dependencies { |
| if (file('../jni/build.gradle').isFile()) |
| compile project(':jni') |
| else |
| compile 'com.artifex.mupdf:fitz:1.11.0' |
| } |
| |
| android { |
| compileSdkVersion 25 |
| buildToolsVersion '25.0.3' |
| defaultConfig { |
| minSdkVersion 16 |
| targetSdkVersion 25 |
| } |
| } |
| |
| uploadArchives { |
| repositories { |
| mavenDeployer { |
| 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' |
| } |
| } |
| } |
| } |
| } |
| } |
| } |