Merge pull request #7 from lacerta-doc/common/fix-gradle

リリース準備
This commit is contained in:
ろむねこ 2023-12-20 10:47:02 +09:00 committed by GitHub
commit fb5de4f12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,11 +12,10 @@ android {
minSdk 26 minSdk 26
targetSdk 33 targetSdk 33
// Develop上では次回のリリースバージョンを指定
// , Internal, Release問わず毎回インクリメントする // , Internal, Release問わず毎回インクリメントする
// https://developer.android.com/studio/publish/versioning#versioningsettings // https://developer.android.com/studio/publish/versioning#versioningsettings
versionCode 2 versionCode 1
versionName "0.1 Internal release 2" versionName "0.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
@ -27,21 +26,18 @@ android {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
applicationIdSuffix ".debug"
matchingFallbacks = ['release'] matchingFallbacks = ['release']
} }
internal_release { internal_release {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
applicationIdSuffix ".internal"
matchingFallbacks = ['release'] 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'
applicationIdSuffix ".beta"
matchingFallbacks = ['release'] matchingFallbacks = ['release']
} }
release { release {