forked from barteksc/PdfiumAndroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
86 lines (75 loc) · 2.09 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
// classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
//ext {
// bintrayRepo = 'maven'
// bintrayName = 'pdfium-android'
//
// publishedGroupId = 'com.github.barteksc'
// libraryName = 'PdfiumAndroid'
// artifact = 'pdfium-android'
//
// libraryDescription = 'Fork of library for rendering PDFs on Android\'s Surface or Bitmap'
//
// siteUrl = 'https://github.com/barteksc/PdfiumAndroid'
// gitUrl = 'https://github.com/barteksc/PdfiumAndroid.git'
//
// libraryVersion = '1.9.1'
//
// developerId = 'barteksc'
// developerName = 'Bartosz Schiller'
// developerEmail = '[email protected]'
//
// licenseName = 'The Apache Software License, Version 2.0'
// licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
// allLicenses = ["Apache-2.0"]
//}
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "2.0.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions{
pickFirst 'lib/**/*'
}
sourceSets{
main {
jni.srcDirs = []
jniLibs.srcDir 'src/main/libs'
}
}
externalNativeBuild {
ndkBuild {
path file('src/main/jni/Android.mk')
}
}
}
repositories {
google()
jcenter()
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:support-v4:28.0.0'
}
//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'