Skip to content

Commit

Permalink
Add new beta build variant
Browse files Browse the repository at this point in the history
  • Loading branch information
cemrich committed Sep 25, 2024
1 parent bfad048 commit 6e87ab4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ gradle-app.setting
!/.idea/codeStyles
!/.idea/inspectionProfiles

/app/beta
/app/release
/app/releases
/prototype.txt
8 changes: 8 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ android {
shrinkResources false
applicationIdSuffix '.debug'
}
beta {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile(
'proguard-android-optimize.txt'),
'proguard-rules.pro'
applicationIdSuffix '.beta'
}
release {
shrinkResources true
minifyEnabled true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package de.christinecoenen.code.zapp.app

import timber.log.Timber
import timber.log.Timber.DebugTree

class ZappApplication : ZappApplicationBase() {

override fun setUpLogging() {
Timber.plant(DebugTree())
}

}
3 changes: 3 additions & 0 deletions app/src/beta/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Zapp (Beta)</string>
</resources>

0 comments on commit 6e87ab4

Please sign in to comment.