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:
parent
b662ed28db
commit
55da8b4c74
2 changed files with 9 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -10,3 +10,4 @@
|
|||
/tools/config.sh
|
||||
/app/.externalNativeBuild
|
||||
/app/release
|
||||
/app/play
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue