1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-24 00:38:56 +00:00
NetGuard/app/build.gradle

77 lines
1.9 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.model.application'
2015-10-24 18:01:55 +00:00
model {
android {
compileSdkVersion = 23
2016-03-25 17:26:22 +00:00
buildToolsVersion = "23.0.3"
2015-10-24 18:01:55 +00:00
2016-02-09 11:00:14 +00:00
defaultConfig {
2016-03-11 09:45:46 +00:00
applicationId = "eu.faircode.netguard"
minSdkVersion.apiLevel = 14
targetSdkVersion.apiLevel = 23
2016-03-22 09:20:59 +00:00
versionCode = 2016032201
versionName = "2.12"
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 {
2016-03-19 11:18:31 +00:00
srcDirs.removeAll()
srcDirs.add('src/main/jni/netguard')
2016-02-09 11:00:14 +00:00
}
exportedHeaders {
}
}
2016-01-14 14:02:32 +00:00
}
}
2016-02-09 11:00:14 +00:00
buildTypes {
release {
2016-03-11 09:45:46 +00:00
minifyEnabled = true
2016-02-09 11:00:14 +00:00
useProguard = true
proguardFiles.add(file('proguard-rules.pro'))
ndk {
2016-03-11 09:45:46 +00:00
debuggable = true
2016-02-09 11:00:14 +00:00
}
}
debug {
2016-03-19 11:12:20 +00:00
minifyEnabled = true
useProguard = true
proguardFiles.add(file('proguard-rules.pro'))
2016-02-09 11:00:14 +00:00
ndk {
2016-03-11 09:45:46 +00:00
debuggable = true
2016-02-09 11:00:14 +00:00
}
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'])
2016-03-14 16:08:04 +00:00
compile 'com.android.support:appcompat-v7:23.2.+'
compile 'com.android.support:recyclerview-v7:23.2.+'
2015-11-13 09:11:46 +00:00
compile 'com.squareup.picasso:picasso:2.5.+'
2015-10-24 18:01:55 +00:00
}