Merge pull request #1251 from reicast/skmp/dev-names

Android: Use unique name,package* bw icons for CI/DBG builds
This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2018-08-03 04:09:44 +02:00 committed by GitHub
commit 2f681248df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 19 deletions

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -44,7 +44,22 @@ android {
} }
} }
buildTypes { buildTypes {
all {
resValue "string", "app_name", "Reicast"
}
debug {
if (System.getenv("TRAVIS_JOB_ID")) {
resValue "string", "app_name", "Reicast CI-" + getVersionName()
android.defaultConfig.applicationId = "com.reicast.emulator.ci_" + getVersionName().replaceAll('-', '_')
} else {
resValue "string", "app_name", "Reicast DBG-" + getVersionName()
android.defaultConfig.applicationId = "com.reicast.emulator.dbg";
}
}
release { release {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1 +0,0 @@
9891979f2c0e9e9e8a8975e16aea9b4e943bd3aa

View File

@ -1,6 +1,6 @@
<resources> <resources>
<string name="app_name">reicast</string> <!-- name is now in gradle -->
<string name="app_site">http://reicast.com</string> <string name="app_site">http://reicast.com</string>
@ -65,4 +65,4 @@
<item>K</item> <item>K</item>
</string-array> </string-array>
</resources> </resources>