1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-23 23:00:56 +00:00
NetGuard/app/build.gradle

60 lines
1.6 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
2015-10-24 18:01:55 +00:00
android {
compileSdkVersion = 27
buildToolsVersion = "27.0.3"
2015-10-24 18:01:55 +00:00
defaultConfig {
applicationId = "eu.faircode.netguard"
2018-08-23 15:54:31 +00:00
versionName = "2.206"
2017-11-04 15:48:21 +00:00
minSdkVersion 22
targetSdkVersion 27
2018-08-23 15:54:31 +00:00
versionCode = 2018082301
archivesBaseName = "NetGuard-v$versionName"
2016-02-09 11:00:14 +00:00
externalNativeBuild {
cmake {
cppFlags ""
2017-11-06 06:05:50 +00:00
arguments "-DANDROID_PLATFORM=android-22"
// 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 {
// https://developer.android.com/ndk/guides/abis.html#sa
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
2016-02-09 11:00:14 +00:00
}
}
2016-02-09 11:00:14 +00:00
externalNativeBuild {
cmake {
path "CMakeLists.txt"
2016-01-14 14:02:32 +00:00
}
}
2016-02-09 11:00:14 +00:00
buildTypes {
release {
minifyEnabled = true
useProguard = true
proguardFiles.add(file('proguard-rules.pro'))
2015-10-24 18:01:55 +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 {
implementation fileTree(dir: 'libs', include: ['*.jar'])
2017-09-20 07:54:28 +00:00
// https://developer.android.com/topic/libraries/support-library/revisions.html
2018-04-27 06:56:36 +00:00
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
2017-09-20 07:54:28 +00:00
2018-01-10 05:45:15 +00:00
// https://bumptech.github.io/glide/
2018-05-22 06:46:31 +00:00
implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
2015-10-24 18:01:55 +00:00
}