1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 15:55:57 +00:00

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 { 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