fcitx5-android/plugin/hangul/build.gradle.kts
rocka de5bc3bb42
Install prebuilt assets with cmake (#658)
The build process no longer relies on symlink
2024-12-20 20:03:21 +08:00

53 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.hangul"
defaultConfig {
applicationId = "org.fcitx.fcitx5.android.plugin.hangul"
@Suppress("UnstableApiUsage")
externalNativeBuild {
cmake {
targets(
"hangul"
)
}
}
}
buildTypes {
release {
resValue("string", "app_name", "@string/app_name_release")
}
debug {
resValue("string", "app_name", "@string/app_name_debug")
}
}
packaging {
jniLibs {
excludes += setOf(
"**/libc++_shared.so",
"**/libFcitx5*"
)
}
}
}
fcitxComponent {
installPrebuiltAssets = true
}
dependencies {
implementation(project(":lib:fcitx5"))
implementation(project(":lib:plugin-base"))
}