Skip to content

Commit 025d5ae

Browse files
committed
chore: update gradle version and support 16KB page size with NDK version 21
1 parent 0da5dcd commit 025d5ae

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99

1010
defaultConfig {
1111
applicationId "io.github.sds100.keymapper.inputmethod.latin"
12-
minSdkVersion 19
12+
minSdkVersion 21
1313
targetSdkVersion 34
1414
versionCode 21
1515
versionName '1.4.7'

app/src/main/jni/Android.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ LOCAL_SDK_VERSION := 14
9292
LOCAL_NDK_STL_VARIANT := c++_static
9393
LOCAL_LDFLAGS += -ldl
9494

95+
LOCAL_LDFLAGS += "-Wl,-z,max-page-size=16384"
96+
LOCAL_LDFLAGS += "-Wl,-z,common-page-size=16384"
97+
98+
9599
include $(BUILD_SHARED_LIBRARY)
96100
#################### Clean up the tmp vars
97101
include $(LOCAL_PATH)/CleanupNativeFileList.mk

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
mavenCentral()
99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:8.9.0'
11+
classpath 'com.android.tools.build:gradle:8.11.0'
1212
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1313

1414
// NOTE: Do not place your application dependencies here; they belong
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Sun Jun 23 18:54:22 CEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)