Merge pull request #4 from lacerta-doc/general/internal_release

内部リリース用のビルド設定を追加, バージョンコードを変更
This commit is contained in:
ろむねこ 2023-12-19 11:51:17 +09:00 committed by GitHub
commit 2364a32de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,10 @@ android {
applicationId "one.nem.lacerta" applicationId "one.nem.lacerta"
minSdk 26 minSdk 26
targetSdk 33 targetSdk 33
versionCode 1
versionName "1.0" // Develop上では次回のリリースバージョンを指定
versionCode 1000
versionName "1.0.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
@ -26,6 +28,13 @@ android {
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
matchingFallbacks = ['release'] matchingFallbacks = ['release']
} }
internal_release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
applicationIdSuffix ".internal"
matchingFallbacks = ['release']
}
beta_release { beta_release {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'