Skip to content

Commit 27185ac

Browse files
Add BuildConfig.VERSION_NAME
1 parent b6ad46e commit 27185ac

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

UpcomingReleaseNotes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ pdf2htmlEX (not -Android) built as a static library can be included in pdf2htmlE
66
Shared library version was ~14 megs, static library version is ~7 megs.
77

88
- Remove deprecated NoForking mode
9+
- Add BuildConfig.VERSION_NAME

pdf2htmlEX/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ android {
5353

5454
ndk.abiFilters = project.hasProperty('abi') ? [project.property('abi')] : ['arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64']
5555
externalNativeBuild.cmake.arguments '-DANDROID_STL=c++_shared'
56+
57+
buildConfigField("String", "VERSION_NAME", "\"${rootProject.version}\"")
5658
}
5759
publishing {
5860
singleVariant("release") {

0 commit comments

Comments
 (0)