2015-11-21 13:52:00 +00:00
|
|
|
apply plugin: 'com.android.model.application'
|
2015-10-24 18:01:55 +00:00
|
|
|
|
2015-11-21 13:52:00 +00:00
|
|
|
model {
|
|
|
|
android {
|
|
|
|
compileSdkVersion = 23
|
|
|
|
buildToolsVersion = "23.0.2"
|
2015-10-24 18:01:55 +00:00
|
|
|
|
2016-02-09 11:00:14 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "eu.faircode.netguard"
|
|
|
|
minSdkVersion.apiLevel 14
|
|
|
|
targetSdkVersion.apiLevel 23
|
2016-03-05 07:12:22 +00:00
|
|
|
versionCode = 2016030501
|
|
|
|
versionName = "2.4"
|
2015-11-27 12:44:22 +00:00
|
|
|
archivesBaseName = "NetGuard-v$versionName-$versionCode"
|
2016-02-09 11:00:14 +00:00
|
|
|
|
|
|
|
buildConfigFields {
|
|
|
|
create() {
|
|
|
|
type "int"
|
|
|
|
name "VALUE"
|
|
|
|
value "1"
|
2016-01-09 11:10:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-02-09 11:00:14 +00:00
|
|
|
|
|
|
|
ndk {
|
|
|
|
platformVersion = "14"
|
|
|
|
moduleName = "netguard"
|
|
|
|
toolchain = "clang"
|
|
|
|
ldLibs.add("log")
|
|
|
|
}
|
|
|
|
|
|
|
|
sources {
|
|
|
|
main {
|
|
|
|
jni {
|
|
|
|
source {
|
|
|
|
srcDir "src/main/jni/netguard"
|
|
|
|
}
|
|
|
|
exportedHeaders {
|
|
|
|
}
|
|
|
|
}
|
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'))
|
|
|
|
ndk {
|
|
|
|
debuggable true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
useProguard false
|
|
|
|
ndk {
|
|
|
|
debuggable true
|
|
|
|
}
|
2016-01-14 14:02:32 +00:00
|
|
|
}
|
2015-10-24 18:01:55 +00:00
|
|
|
}
|
2016-02-09 11:00:14 +00:00
|
|
|
|
|
|
|
productFlavors {
|
|
|
|
create("all") {
|
|
|
|
}
|
2016-01-09 11:10:11 +00:00
|
|
|
}
|
|
|
|
}
|
2015-10-24 18:01:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
2015-11-13 09:11:46 +00:00
|
|
|
compile 'com.android.support:appcompat-v7:23.1.+'
|
|
|
|
compile 'com.android.support:recyclerview-v7:23.1.+'
|
|
|
|
compile 'com.squareup.picasso:picasso:2.5.+'
|
2015-10-24 18:01:55 +00:00
|
|
|
}
|