Skip to content

Commit af7f344

Browse files
Merge pull request #1 from T-Pro/upgradePdfiumTo16KBCompatible
Upgrade pdfium to16 kb compatible
2 parents 4a4011c + 9774a61 commit af7f344

File tree

190 files changed

+9599
-8325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+9599
-8325
lines changed

android-pdf-viewer/bintray.gradle

Lines changed: 0 additions & 89 deletions
This file was deleted.

android-pdf-viewer/build.gradle

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,14 @@
11
apply plugin: 'com.android.library'
2-
3-
ext {
4-
bintrayRepo = 'maven'
5-
bintrayName = 'android-pdf-viewer'
6-
7-
publishedGroupId = 'com.github.barteksc'
8-
libraryName = 'AndroidPdfViewer'
9-
artifact = 'android-pdf-viewer'
10-
11-
libraryDescription = 'Android view for displaying PDFs rendered with PdfiumAndroid'
12-
13-
siteUrl = 'https://github.com/barteksc/AndroidPdfViewer'
14-
gitUrl = 'https://github.com/barteksc/AndroidPdfViewer.git'
15-
16-
libraryVersion = '3.2.0-beta.1'
17-
18-
developerId = 'barteksc'
19-
developerName = 'Bartosz Schiller'
20-
developerEmail = '[email protected]'
21-
22-
licenseName = 'The Apache Software License, Version 2.0'
23-
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
24-
allLicenses = ["Apache-2.0"]
25-
}
2+
apply plugin: 'com.kezong.fat-aar'
263

274
android {
28-
compileSdkVersion 29
5+
compileSdkVersion 35
6+
namespace 'com.github.barteksc.pdfviewer'
7+
298

309
defaultConfig {
31-
minSdkVersion 14
32-
targetSdkVersion 29
10+
minSdkVersion 21
11+
targetSdkVersion 35
3312
versionCode 1
3413
versionName "4.0.0"
3514
}
@@ -43,7 +22,6 @@ android {
4322

4423
dependencies {
4524
implementation 'androidx.core:core:1.3.1'
46-
api project(':pdfium')
25+
embed project(path: ':pdfium', configuration: 'default')
4726
}
4827

49-
apply from: 'bintray.gradle'

build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
21
buildscript {
32
repositories {
43
google()
5-
jcenter()
4+
mavenCentral()
5+
maven { url "https://jitpack.io" }
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:4.0.1'
9-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
8+
classpath 'com.android.tools.build:gradle:8.7.3'
109
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
10+
classpath 'com.github.aasitnikov:fat-aar-android:1.4.2'
11+
1112
}
1213
}
1314

1415
allprojects {
1516
repositories {
1617
google()
17-
jcenter()
18+
mavenCentral()
1819
maven { url 'https://jitpack.io' }
1920
}
2021
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip

pdfium/.cxx/abi_configuration_6j38o1y1.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

pdfium/.cxx/abi_configuration_6j38o1y1.log

Lines changed: 0 additions & 1 deletion
This file was deleted.

pdfium/.cxx/abi_configuration_6j38o1y1_key.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

pdfium/.cxx/abi_configuration_t733c3d2.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

pdfium/.cxx/abi_configuration_t733c3d2.log

Lines changed: 0 additions & 6 deletions
This file was deleted.

pdfium/.cxx/abi_configuration_t733c3d2_key.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)