revert: remove fldigi CW decoder migration, keep Morse Expert

This commit is contained in:
atsunatsu committed 2026-08-07 20:01:53 +08:00
1 parent 16dce5df2a
commit f40a67e1b7
23 files changed
+23 -8021

No files matched your search

+12 -14
View File
@@ -7,24 +7,13 @@ plugins {
android {
namespace = "com.rtbishop.look4sat.feature.cw"
ndkVersion = "25.2.9519653"
compileOptions {
encoding = "UTF-8"
}
// 照搬 Morse Expert 1.15: native 解码器仅 armeabi-v7a
defaultConfig {
// fldigi CW 解码器: 支持 arm64-v8a + armeabi-v7a 双架构
ndk {
abiFilters += listOf("arm64-v8a", "armeabi-v7a")
}
externalNativeBuild {
cmake {
cppFlags += "-std=c++17"
}
}
}
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
abiFilters += listOf("armeabi-v7a")
}
}
}
@@ -37,4 +26,13 @@ androidComponents {
project.layout.projectDirectory.file("proguard-rules.pro")
)
}
}
}
dependencies {
implementation("androidx.constraintlayout:constraintlayout:2.2.1")
}
// 照搬的 Java 源码含中文注释, 强制 UTF-8 编译(compileOptions 在部分 AGP 版本不生效)
tasks.withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
}