Integrate libswipetype as submodule (swipe typing engine)
Check generated files / Layout list (push) Has been cancelled
Check generated files / Layout warnings (push) Has been cancelled
Check generated files / Compose key data (push) Has been cancelled
Make Apk CI / Build-Apk (push) Has been cancelled

- Added vendor/libswipetype as git submodule
- Included swipetype-android as Gradle module in settings.gradle.kts
- Added implementation project dependency in build.gradle.kts
- Updated swipetype-android build.gradle to use NDK 27 / SDK 36
- Builds and links successfully via CMake + NDK

Next: wire gesture touch detection, trail rendering, and suggestion integration
This commit is contained in:
2026-07-07 03:01:07 -04:00
parent 939e8da252
commit 149373226a
4 changed files with 8 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
[submodule "vendor/cdict"]
path = vendor/cdict
url = https://github.com/Julow/cdict
[submodule "vendor/libswipetype"]
path = vendor/libswipetype
url = https://github.com/libswipetype/libswipetype
+1
View File
@@ -9,6 +9,7 @@ dependencies {
// Following versions of androidx.window require sdk version 23
implementation("androidx.window:window-java:1.4.0")
implementation("androidx.core:core:1.16.0") // Version 1.17.0 available with sdk 36
implementation(project(":swipetype-android"))
testImplementation("junit:junit:4.13.2")
}
+3
View File
@@ -15,3 +15,6 @@ dependencyResolutionManagement {
}
rootProject.name = "Unexpected-Keyboard"
include(":swipetype-android")
project(":swipetype-android").projectDir = File("vendor/libswipetype/swipetype-android")
Vendored Submodule
+1
Submodule vendor/libswipetype added at b4d2f26319