Skip to content

Commit

Permalink
2.223 release
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Jan 19, 2019
1 parent 6bb3d17 commit 4b0090f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
/app/.externalNativeBuild
/app/release
/app/play
keystore.properties
18 changes: 16 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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'
Expand All @@ -40,13 +52,15 @@ 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\""
}
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", "\"\""
Expand Down

0 comments on commit 4b0090f

Please sign in to comment.