We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50bf540 commit b28bedfCopy full SHA for b28bedf
2 files changed
sysbridge/NDK_VERSION
@@ -0,0 +1 @@
1
+27.2.12479018
sysbridge/build.gradle.kts
@@ -13,6 +13,16 @@ android {
13
namespace = "io.github.sds100.keymapper.sysbridge"
14
compileSdk = libs.versions.compile.sdk.get().toInt()
15
16
+ // Read NDK version from NDK_VERSION file, with fallback to gradle.properties
17
+ // The NDK version is stored in a file so the same value can be used across multiple modules.
18
+ val ndkVersionFile = project.file("NDK_VERSION")
19
+ val ndkVersionFromFile = if (ndkVersionFile.exists()) {
20
+ ndkVersionFile.readText().trim()
21
+ } else {
22
+ null
23
+ }
24
+ ndkVersion = ndkVersionFromFile!!
25
+
26
defaultConfig {
27
// Must be API 29 so that the binder-ndk library can be found.
28
minSdk = 29
0 commit comments