Skip to content

Commit 520ed39

Browse files
committed
Give build types different labels
1 parent 650ee23 commit 520ed39

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ android {
4444
targetSdkVersion 31
4545
versionCode System.currentTimeSeconds().toInteger()
4646
versionName "$gitHash$gitDirty"
47+
manifestPlaceholders = [label: 'LiBoard']
4748

4849
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
4950
}
@@ -56,6 +57,7 @@ android {
5657
}
5758
debug {
5859
applicationIdSuffix '.debug'
60+
manifestPlaceholders = [label: 'LiBoard[DEBUG]']
5961
}
6062
}
6163
compileOptions {

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
android:name=".android.Application"
77
android:allowBackup="true"
88
android:icon="@mipmap/ic_launcher"
9-
android:label="@string/app_name"
9+
android:label="${label}"
1010
android:roundIcon="@mipmap/ic_launcher_round"
1111
android:supportsRtl="true"
1212
android:theme="@style/AppTheme"

0 commit comments

Comments
 (0)