mirror of
https://github.com/fcitx5-android/fcitx5-android.git
synced 2026-08-02 04:44:35 +08:00
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
import com.android.build.gradle.tasks.MergeSourceSetFolders
|
|
import kotlinx.serialization.json.Json
|
|
|
|
plugins {
|
|
id("org.fcitx.fcitx5.android.app-convention")
|
|
id("org.fcitx.fcitx5.android.plugin-app-convention")
|
|
id("org.fcitx.fcitx5.android.build-metadata")
|
|
id("org.fcitx.fcitx5.android.data-descriptor")
|
|
alias(libs.plugins.kotlin.serialization)
|
|
}
|
|
|
|
android {
|
|
namespace = "org.fcitx.fcitx5.android.plugin.smsotp"
|
|
defaultConfig {
|
|
applicationId = "org.fcitx.fcitx5.android.plugin.smsotp"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
resValue("string", "app_name", "@string/app_name_release")
|
|
}
|
|
debug {
|
|
resValue("string", "app_name", "@string/app_name_debug")
|
|
}
|
|
}
|
|
sourceSets {
|
|
getByName("test") {
|
|
java.srcDir("src/main/java")
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":lib:plugin-base"))
|
|
implementation(libs.kotlinx.serialization.json)
|
|
testImplementation("junit:junit:4.13.2")
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test:2.1.20")
|
|
}
|
|
|
|
|