mirror of
https://github.com/M66B/NetGuard.git
synced 2025-03-06 19:59:11 +00:00
2.223 release
This commit is contained in:
parent
6bb3d17c06
commit
4b0090f6dc
2 changed files with 17 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -11,3 +11,4 @@
|
|||
/app/.externalNativeBuild
|
||||
/app/release
|
||||
/app/play
|
||||
keystore.properties
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
apply plugin: 'com.android.application'
|
||||
|
||||
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
||||
def keystoreProperties = new Properties()
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
|
||||
android {
|
||||
compileSdkVersion = 28
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "eu.faircode.netguard"
|
||||
versionName = "2.222"
|
||||
versionName = "2.223"
|
||||
minSdkVersion 22
|
||||
targetSdkVersion 28
|
||||
versionCode = 2019011301
|
||||
versionCode = 2019011901
|
||||
archivesBaseName = "NetGuard-v$versionName"
|
||||
|
||||
externalNativeBuild {
|
||||
|
@ -24,6 +28,14 @@ android {
|
|||
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
||||
}
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file(keystoreProperties['storeFile'])
|
||||
storePassword keystoreProperties['storePassword']
|
||||
keyAlias keystoreProperties['keyAlias']
|
||||
keyPassword keystoreProperties['keyPassword']
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
disable 'MissingTranslation'
|
||||
|
@ -40,6 +52,7 @@ android {
|
|||
minifyEnabled = true
|
||||
useProguard = true
|
||||
proguardFiles.add(file('proguard-rules.pro'))
|
||||
signingConfig signingConfigs.release
|
||||
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
||||
buildConfigField "String", "HOSTS_FILE_URI", "\"http://www.netguard.me/hosts\""
|
||||
buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/NetGuard/releases/latest\""
|
||||
|
@ -47,6 +60,7 @@ android {
|
|||
play {
|
||||
minifyEnabled = true
|
||||
useProguard = true
|
||||
signingConfig signingConfigs.release
|
||||
proguardFiles.add(file('proguard-rules.pro'))
|
||||
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
||||
buildConfigField "String", "HOSTS_FILE_URI", "\"\""
|
||||
|
|
Loading…
Add table
Reference in a new issue