Skip to content

Commit b8dfd0f

Browse files
committed
support Android 16K page size
1 parent 7b8d8f4 commit b8dfd0f

File tree

21 files changed

+7
-4
lines changed

21 files changed

+7
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ You may need to restart your system so that Android Studio could use the correct
116116
### Build MarsXLog
117117

118118
```bash
119-
# run on macOS
119+
# run on macOS, with Android NDK android-ndk-r23d-canary,
120+
# https://ci.android.com/builds/branches/aosp-ndk-release-r23/grid
120121
./scripts/build_xlog_android.sh
121122
# run on macOS
122123
./scripts/build_xlog_apple.sh

buildSrc/src/main/kotlin/Constants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
object Consts {
22
const val releaseGroup = "com.piasy"
33
const val releaseName = "kmp-xlog"
4-
const val releaseVersion = "1.1.0"
4+
const val releaseVersion = "1.2.0"
55

66
val androidNS = "$releaseGroup.${releaseName.replace('-', '_')}"
77
}

example/shared/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ kotlin {
6464
sourceSets {
6565
commonMain {
6666
dependencies {
67-
implementation("${Consts.releaseGroup}:${Consts.releaseName}:${Consts.releaseVersion}")
67+
//implementation("${Consts.releaseGroup}:${Consts.releaseName}:${Consts.releaseVersion}")
68+
implementation(project(":kmp-xlog"))
6869
}
6970
}
7071

example/shared/src/commonMain/kotlin/com/piasy/kmp/xlog/example/Greeting.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class Greeting {
77

88
fun greeting(): String {
99
Logging.info("XXPXX", "greeting from ${platform.name}")
10+
Logging.error("XXPXX", "flush")
1011

1112
return "Hello, ${platform.name}!"
1213
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)