Android: Use unique name & package for debug builds
This commit is contained in:
parent
e352fb9e9d
commit
72e9de3333
|
@ -44,7 +44,16 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
buildTypes {
|
||||
all {
|
||||
resValue "string", "app_name", "Reicast"
|
||||
}
|
||||
|
||||
debug {
|
||||
resValue "string", "app_name", "Reicast DEV-" + getVersionName()
|
||||
android.defaultConfig.applicationId = "com.reicast.emulator.dev_" + getVersionName().replaceAll('-','_')
|
||||
}
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<resources>
|
||||
|
||||
<string name="app_name">reicast</string>
|
||||
<!-- name is now in gradle -->
|
||||
|
||||
<string name="app_site">http://reicast.com</string>
|
||||
|
||||
|
@ -65,4 +65,4 @@
|
|||
<item>K</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue