mirror of
https://github.com/fcitx5-android/fcitx5-android.git
synced 2026-08-02 20:16:06 +08:00
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
plugins {
|
|
id("org.fcitx.fcitx5.android.app-convention")
|
|
id("org.fcitx.fcitx5.android.plugin-app-convention")
|
|
id("org.fcitx.fcitx5.android.native-app-convention")
|
|
id("org.fcitx.fcitx5.android.build-metadata")
|
|
id("org.fcitx.fcitx5.android.data-descriptor")
|
|
id("org.fcitx.fcitx5.android.fcitx-component")
|
|
}
|
|
|
|
android {
|
|
namespace = "org.fcitx.fcitx5.android.plugin.thai"
|
|
|
|
defaultConfig {
|
|
applicationId = "org.fcitx.fcitx5.android.plugin.thai"
|
|
|
|
@Suppress("UnstableApiUsage")
|
|
externalNativeBuild {
|
|
cmake {
|
|
targets(
|
|
"libthai"
|
|
)
|
|
}
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
resValues = true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
resValue("string", "app_name", "@string/app_name_release")
|
|
proguardFile("proguard-rules.pro")
|
|
}
|
|
debug {
|
|
resValue("string", "app_name", "@string/app_name_debug")
|
|
}
|
|
}
|
|
|
|
packaging {
|
|
jniLibs {
|
|
excludes += setOf(
|
|
"**/libc++_shared.so",
|
|
"**/libFcitx5*"
|
|
)
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":lib:fcitx5"))
|
|
implementation(project(":lib:plugin-base"))
|
|
}
|