2017-10-23 19:51:27 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2015-10-24 18:01:55 +00:00
|
|
|
|
2017-10-23 19:51:27 +00:00
|
|
|
android {
|
2017-10-25 19:23:53 +00:00
|
|
|
compileSdkVersion = 27
|
2017-11-09 12:51:02 +00:00
|
|
|
buildToolsVersion = "27.0.1"
|
2015-10-24 18:01:55 +00:00
|
|
|
|
2017-10-23 19:51:27 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId = "eu.faircode.netguard"
|
2017-11-10 08:53:53 +00:00
|
|
|
versionName = "2.158"
|
2017-11-04 15:48:21 +00:00
|
|
|
minSdkVersion 22
|
2017-10-25 19:23:53 +00:00
|
|
|
targetSdkVersion 27
|
2017-11-10 08:53:53 +00:00
|
|
|
versionCode = 2017111002
|
2017-10-23 19:51:27 +00:00
|
|
|
archivesBaseName = "NetGuard-v$versionName"
|
2016-02-09 11:00:14 +00:00
|
|
|
|
2017-10-23 19:51:27 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
cppFlags ""
|
2017-11-06 06:05:50 +00:00
|
|
|
arguments "-DANDROID_PLATFORM=android-22"
|
2017-10-23 19:51:27 +00:00
|
|
|
// https://developer.android.com/ndk/guides/cmake.html
|
|
|
|
}
|
2016-04-03 06:15:41 +00:00
|
|
|
}
|
|
|
|
|
2016-02-09 11:00:14 +00:00
|
|
|
ndk {
|
2017-10-25 19:23:53 +00:00
|
|
|
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'mips'
|
2016-02-09 11:00:14 +00:00
|
|
|
}
|
2017-10-23 19:51:27 +00:00
|
|
|
}
|
2016-02-09 11:00:14 +00:00
|
|
|
|
2017-10-23 19:51:27 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path "CMakeLists.txt"
|
2016-01-14 14:02:32 +00:00
|
|
|
}
|
2017-10-23 19:51:27 +00:00
|
|
|
}
|
2016-02-09 11:00:14 +00:00
|
|
|
|
2017-10-23 19:51:27 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled = true
|
|
|
|
useProguard = true
|
|
|
|
proguardFiles.add(file('proguard-rules.pro'))
|
2015-10-24 18:01:55 +00:00
|
|
|
}
|
2017-10-23 19:51:27 +00:00
|
|
|
debug {
|
|
|
|
minifyEnabled = true
|
|
|
|
useProguard = true
|
|
|
|
proguardFiles.add(file('proguard-rules.pro'))
|
2016-01-09 11:10:11 +00:00
|
|
|
}
|
|
|
|
}
|
2015-10-24 18:01:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-10-23 19:51:27 +00:00
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2017-09-20 07:54:28 +00:00
|
|
|
|
|
|
|
// https://developer.android.com/topic/libraries/support-library/revisions.html
|
2017-10-25 19:23:53 +00:00
|
|
|
implementation 'com.android.support:appcompat-v7:27.+'
|
|
|
|
implementation 'com.android.support:recyclerview-v7:27.+'
|
2017-09-20 07:54:28 +00:00
|
|
|
|
|
|
|
// https://developers.google.com/android/guides/setup
|
2017-11-10 08:53:53 +00:00
|
|
|
implementation 'com.google.android.gms:play-services-base:11.6.+'
|
2017-09-20 07:54:28 +00:00
|
|
|
|
2017-06-10 14:16:13 +00:00
|
|
|
// https://firebase.google.com/docs/android/setup
|
2017-11-10 08:53:53 +00:00
|
|
|
implementation 'com.google.firebase:firebase-core:11.6.+'
|
|
|
|
implementation 'com.google.firebase:firebase-ads:11.6.+'
|
2015-10-24 18:01:55 +00:00
|
|
|
}
|
2016-07-24 16:02:56 +00:00
|
|
|
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|