feat: release QieKan 3.26.14 privacy mode
Auto Release / prepare (push) Canceled after 0s
Auto Release / build (app, release) (push) Canceled after 0s
Auto Release / create_release (push) Canceled after 0s
CodeQL / Analyze (java-kotlin) (java-kotlin) (push) Canceled after 0s

This commit is contained in:
Codex committed 2026-07-15 00:18:46 +08:00
1 parent bf73f84b71
commit a6b88cff62
51 files changed
+4052 -212

No files matched your search

+17 -1
View File
@@ -51,7 +51,7 @@ android {
applicationId = "io.legato.kazusa"
minSdk = 26
targetSdk = 37
versionCode = System.getenv("COMMIT_NUMBER")?.toInt()?.let { 10000 + it } ?: 32640
versionCode = System.getenv("COMMIT_NUMBER")?.toInt()?.let { 10000 + it } ?: 32641
versionName = System.getenv("APP_VERSION_NAME") ?: projectVersionName
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
@@ -152,6 +152,22 @@ android {
}
}
androidComponents {
onVariants(selector().all()) { variant ->
variant.outputs.forEach { output ->
val abi = output.filters
.firstOrNull { it.filterType.name == "ABI" }
?.identifier
?: "universal"
output.outputFileName.set(
output.versionName.zip(output.versionCode) { versionName, versionCode ->
"QieKan-$abi-$versionName-vc$versionCode.apk"
}
)
}
}
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(21))