1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-22 15:58:25 +00:00

Added Play build type

This commit is contained in:
M66B 2018-12-21 12:01:02 +01:00
parent b662ed28db
commit 55da8b4c74
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@
/tools/config.sh
/app/.externalNativeBuild
/app/release
/app/play

View file

@ -44,6 +44,14 @@ android {
buildConfigField "String", "HOSTS_FILE_URI", "\"http://www.netguard.me/hosts\""
buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/NetGuard/releases/latest\""
}
play {
minifyEnabled = true
useProguard = true
proguardFiles.add(file('proguard-rules.pro'))
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
buildConfigField "String", "HOSTS_FILE_URI", "\"\""
buildConfigField "String", "GITHUB_LATEST_API", "\"\""
}
debug {
minifyEnabled = true
useProguard = true