mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-27 18:30:09 +00:00
68 lines
1.9 KiB
Groovy
68 lines
1.9 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion = 27
|
|
buildToolsVersion = "27.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId = "eu.faircode.netguard"
|
|
versionName = "2.184"
|
|
minSdkVersion 22
|
|
targetSdkVersion 27
|
|
versionCode = 2018022001
|
|
archivesBaseName = "NetGuard-v$versionName"
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
cppFlags ""
|
|
arguments "-DANDROID_PLATFORM=android-22"
|
|
// https://developer.android.com/ndk/guides/cmake.html
|
|
}
|
|
}
|
|
|
|
ndk {
|
|
// https://developer.android.com/ndk/guides/abis.html#sa
|
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path "CMakeLists.txt"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled = true
|
|
useProguard = true
|
|
proguardFiles.add(file('proguard-rules.pro'))
|
|
}
|
|
debug {
|
|
minifyEnabled = true
|
|
useProguard = true
|
|
proguardFiles.add(file('proguard-rules.pro'))
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
// https://developer.android.com/topic/libraries/support-library/revisions.html
|
|
implementation 'com.android.support:appcompat-v7:27.0.2'
|
|
implementation 'com.android.support:recyclerview-v7:27.0.2'
|
|
|
|
// https://developers.google.com/android/guides/setup
|
|
implementation 'com.google.android.gms:play-services-base:11.6.0'
|
|
|
|
// https://firebase.google.com/docs/android/setup
|
|
implementation 'com.google.firebase:firebase-core:11.6.0'
|
|
implementation 'com.google.firebase:firebase-ads:11.6.0'
|
|
|
|
// https://bumptech.github.io/glide/
|
|
implementation 'com.github.bumptech.glide:glide:4.4.0'
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'
|
|
}
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|