Skip to content

Commit 6849b9e

Browse files
author
Vasyl Koshkin
committed
Update version
1 parent 9905b9a commit 6849b9e

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

build.gradle

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,32 @@ plugins {
33
id 'maven-publish'
44
}
55

6+
ext {
7+
tools = [
8+
minSdk : 21,
9+
targetSdk : 34,
10+
compileSdk : 34,
11+
versionCode: 2,
12+
versionName: '1.9.3'
13+
]
14+
}
15+
616
group "com.github.lion1988dev"
717

818
android {
919
namespace "com.shockwave.pdfium"
1020

11-
compileSdk 34
21+
compileSdk rootProject.tools.compileSdk
1222

1323
defaultConfig {
14-
minSdkVersion 21
15-
targetSdk 34
16-
versionCode 1
17-
versionName "1.9.2"
24+
minSdkVersion rootProject.tools.minSdkVersion
25+
targetSdk rootProject.tools.targetSdk
26+
27+
versionCode rootProject.tools.versionCode
28+
versionName "${rootProject.tools.versionName}"
29+
1830
buildConfigField 'String', 'VERSION_NAME', "\"${defaultConfig.versionName}\""
31+
1932
externalNativeBuild {
2033
cmake {
2134
cppFlags ""
@@ -73,7 +86,7 @@ publishing {
7386
release(MavenPublication) {
7487
groupId = 'com.github.lion1988dev'
7588
artifactId = 'PdfiumAndroid'
76-
version = "1.9.1"
89+
version = "1.9.3"
7790

7891
afterEvaluate {
7992
from components.release

0 commit comments

Comments
 (0)