Added Play build type

This commit is contained in:
M66B 2018-12-21 10:18:58 +01:00
parent a2e51909e4
commit cfd073f53e
2 changed files with 13 additions and 5 deletions

View File

@ -17,10 +17,6 @@ android {
}
}
lintOptions {
disable 'MissingTranslation'
}
buildTypes {
release {
debuggable = false
@ -30,6 +26,14 @@ android {
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/open-source-email/releases/latest\""
}
play {
debuggable = false
minifyEnabled = true
useProguard = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
buildConfigField "String", "GITHUB_LATEST_API", "\"\""
}
debug {
debuggable = true
minifyEnabled = false
@ -40,6 +44,10 @@ android {
}
}
lintOptions {
disable 'MissingTranslation'
}
packagingOptions {
pickFirst 'META-INF/LICENSE.txt'

@ -1 +1 @@
Subproject commit 48ef548ad518b1b09bf31443ade1d9ccafe8e24a
Subproject commit 495159592db651e3ffa2037e348a042d3087e974