Skip to content

Commit da584c0

Browse files
committed
Upgrade to AGP 8.5.2/NDK r28c to support 16KByte pages/compressed libraries.
16Kbyte page support is an imminent requirement of all apps on Google Play store. NDK r28c defaults to 16Kbyte page support, which means that no special build flag needs to be passed when compiling the native library, which means less clutter in MuPDF's Android.mk file.
1 parent ca200ab commit da584c0

File tree

8 files changed

+6
-8
lines changed

8 files changed

+6
-8
lines changed

app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies {
1111
}
1212

1313
android {
14+
namespace 'com.artifex.mupdf.viewer.app'
1415
compileSdkVersion 33
1516
defaultConfig {
1617
minSdkVersion 21

app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.artifex.mupdf.viewer.app"
43
android:installLocation="auto"
54
>
65
<application

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
mavenCentral()
1010
}
1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:7.2.2'
12+
classpath 'com.android.tools.build:gradle:8.5.2'
1313
}
1414
}
1515

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
android.useAndroidX=true
2-
android.disableAutomaticComponentCreation=true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

lib/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dependencies {
1313
}
1414

1515
android {
16+
namespace 'com.artifex.mupdf.viewer'
1617
compileSdkVersion 33
1718
defaultConfig {
1819
minSdkVersion 21

lib/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.artifex.mupdf.viewer"
4-
>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
53
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
64
<application>
75
<activity

0 commit comments

Comments
 (0)