Remove redundant definitions of KPM strings
Clean up unused code in build scripts
This commit is contained in:
@@ -226,7 +226,6 @@
|
||||
<string name="batch_cancel_authorization">認証を一括でキャンセル</string>
|
||||
<string name="backup">バックアップ</string>
|
||||
<string name="color_yellow">イエロー</string>
|
||||
<string name="kpm">カーネルモジュール</string>
|
||||
<string name="kpm_title">カーネルモジュール</string>
|
||||
<string name="kpm_empty">カーネルモジュールは現在インストールされていません</string>
|
||||
<string name="kpm_version">バージョン</string>
|
||||
|
||||
@@ -222,7 +222,6 @@
|
||||
<string name="batch_cancel_authorization">Hủy ủy quyền hàng loạt</string>
|
||||
<string name="backup">Sao lưu</string>
|
||||
<string name="color_yellow">Vàng</string>
|
||||
<string name="kpm">Mô-đun kpm</string>
|
||||
<string name="kpm_title">Mô-đun KPM</string>
|
||||
<string name="kpm_empty">Không có mô-đun nào được cài đặt.</string>
|
||||
<string name="kpm_version">Phát hành</string>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import com.android.build.api.dsl.ApplicationDefaultConfig
|
||||
import com.android.build.api.dsl.CommonExtension
|
||||
import com.android.build.gradle.api.AndroidBasePlugin
|
||||
import java.io.ByteArrayOutputStream
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.agp.app) apply false
|
||||
@@ -48,18 +47,6 @@ fun getGitDescribe(): String {
|
||||
}.standardOutput.asText.get().trim()
|
||||
}
|
||||
|
||||
|
||||
|
||||
fun getVersionCode(): Int {
|
||||
val commitCount = getGitCommitCount()
|
||||
val major = 1
|
||||
return major * 10000 + commitCount + 606
|
||||
}
|
||||
|
||||
fun getVersionName(): String {
|
||||
return getGitDescribe()
|
||||
}
|
||||
|
||||
subprojects {
|
||||
plugins.withType(AndroidBasePlugin::class.java) {
|
||||
extensions.configure(CommonExtension::class.java) {
|
||||
|
||||
Reference in New Issue
Block a user