Added Play build type

pull/147/head
M66B 6 years ago
parent a2e51909e4
commit cfd073f53e

@ -17,10 +17,6 @@ android {
} }
} }
lintOptions {
disable 'MissingTranslation'
}
buildTypes { buildTypes {
release { release {
debuggable = false debuggable = false
@ -30,6 +26,14 @@ android {
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false" buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/open-source-email/releases/latest\"" 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 { debug {
debuggable = true debuggable = true
minifyEnabled = false minifyEnabled = false
@ -40,6 +44,10 @@ android {
} }
} }
lintOptions {
disable 'MissingTranslation'
}
packagingOptions { packagingOptions {
pickFirst 'META-INF/LICENSE.txt' pickFirst 'META-INF/LICENSE.txt'

@ -1 +1 @@
Subproject commit 48ef548ad518b1b09bf31443ade1d9ccafe8e24a Subproject commit 495159592db651e3ffa2037e348a042d3087e974
Loading…
Cancel
Save