forked from marain87/PdfiumAndroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
96 lines (78 loc) · 1.92 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
87
88
89
90
91
92
93
94
95
96
plugins {
id 'com.android.library' version '8.3.0'
id 'maven-publish'
}
ext {
tools = [
minSdk : 21,
targetSdk : 34,
compileSdk : 34,
versionCode: 3,
versionName: '1.9.4'
]
}
group "com.github.lion1988dev"
android {
namespace "com.shockwave.pdfium"
compileSdk rootProject.tools.compileSdk
defaultConfig {
minSdkVersion rootProject.tools.minSdk
targetSdk rootProject.tools.targetSdk
versionCode rootProject.tools.versionCode
versionName "${rootProject.tools.versionName}"
buildConfigField 'String', 'VERSION_NAME', "\"${defaultConfig.versionName}\""
externalNativeBuild {
cmake {
cppFlags ""
}
}
}
buildFeatures {
buildConfig = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
publishing {
singleVariant("release") {
withSourcesJar()
withJavadocJar()
}
}
}
ndkVersion '25.2.9519653'
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.22.1"
}
}
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
}
publishing {
publications {
release(MavenPublication) {
groupId = 'com.github.marain87'
artifactId = 'PdfiumAndroid'
version = "1.9.5"
afterEvaluate {
from components.release
}
}
}
}