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/.externalNativeBuild
|
||||||
/app/release
|
/app/release
|
||||||
/app/play
|
/app/play
|
||||||
|
keystore.properties
|
||||||
|
|
|
@ -1,14 +1,18 @@
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
||||||
|
def keystoreProperties = new Properties()
|
||||||
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion = 28
|
compileSdkVersion = 28
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "eu.faircode.netguard"
|
applicationId = "eu.faircode.netguard"
|
||||||
versionName = "2.222"
|
versionName = "2.223"
|
||||||
minSdkVersion 22
|
minSdkVersion 22
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
versionCode = 2019011301
|
versionCode = 2019011901
|
||||||
archivesBaseName = "NetGuard-v$versionName"
|
archivesBaseName = "NetGuard-v$versionName"
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
|
@ -24,6 +28,14 @@ android {
|
||||||
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
signingConfigs {
|
||||||
|
release {
|
||||||
|
storeFile file(keystoreProperties['storeFile'])
|
||||||
|
storePassword keystoreProperties['storePassword']
|
||||||
|
keyAlias keystoreProperties['keyAlias']
|
||||||
|
keyPassword keystoreProperties['keyPassword']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
disable 'MissingTranslation'
|
disable 'MissingTranslation'
|
||||||
|
@ -40,6 +52,7 @@ android {
|
||||||
minifyEnabled = true
|
minifyEnabled = true
|
||||||
useProguard = true
|
useProguard = true
|
||||||
proguardFiles.add(file('proguard-rules.pro'))
|
proguardFiles.add(file('proguard-rules.pro'))
|
||||||
|
signingConfig signingConfigs.release
|
||||||
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
||||||
buildConfigField "String", "HOSTS_FILE_URI", "\"http://www.netguard.me/hosts\""
|
buildConfigField "String", "HOSTS_FILE_URI", "\"http://www.netguard.me/hosts\""
|
||||||
buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/NetGuard/releases/latest\""
|
buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/NetGuard/releases/latest\""
|
||||||
|
@ -47,6 +60,7 @@ android {
|
||||||
play {
|
play {
|
||||||
minifyEnabled = true
|
minifyEnabled = true
|
||||||
useProguard = true
|
useProguard = true
|
||||||
|
signingConfig signingConfigs.release
|
||||||
proguardFiles.add(file('proguard-rules.pro'))
|
proguardFiles.add(file('proguard-rules.pro'))
|
||||||
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
||||||
buildConfigField "String", "HOSTS_FILE_URI", "\"\""
|
buildConfigField "String", "HOSTS_FILE_URI", "\"\""
|
||||||
|
|
Loading…
Add table
Reference in a new issue