mirror of https://github.com/readrops/Readrops.git
Add beta build type
This commit is contained in:
parent
7d97588c86
commit
14af99c8df
|
@ -6,6 +6,14 @@ plugins {
|
|||
android {
|
||||
namespace = "com.readrops.api"
|
||||
|
||||
buildTypes {
|
||||
create("beta") {
|
||||
initWith(getByName("release"))
|
||||
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
getByName("androidTest") {
|
||||
assets.srcDirs("$projectDir/androidTest/assets")
|
||||
|
|
|
@ -19,6 +19,8 @@ android {
|
|||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
|
||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||
}
|
||||
|
||||
|
@ -32,6 +34,13 @@ android {
|
|||
|
||||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
||||
}
|
||||
|
||||
create("beta") {
|
||||
initWith(getByName("release"))
|
||||
|
||||
applicationIdSuffix = ".beta"
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
}
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
|
|
|
@ -20,6 +20,9 @@
|
|||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
# help debug release versions
|
||||
-dontobfuscate
|
||||
|
||||
-dontwarn org.xmlpull.v1.XmlPullParser
|
||||
-dontwarn org.xmlpull.v1.XmlSerializer
|
||||
-keep class org.xmlpull.v1.* {*;}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<resources>
|
||||
<string name="app_name" translatable="false">ReadropsBeta</string>
|
||||
</resources>
|
|
@ -7,6 +7,14 @@ plugins {
|
|||
android {
|
||||
namespace = "com.readrops.db"
|
||||
|
||||
buildTypes {
|
||||
create("beta") {
|
||||
initWith(getByName("release"))
|
||||
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
consumerProguardFiles("consumer-rules.pro")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue