2015-06-23 20:44:24 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 22
|
|
|
|
buildToolsVersion '22.0.1'
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.affectiva.affdexme"
|
|
|
|
minSdkVersion 16
|
|
|
|
targetSdkVersion 22
|
2015-08-27 17:14:40 +00:00
|
|
|
versionCode 14
|
2015-09-11 19:02:09 +00:00
|
|
|
versionName "2.0.0"
|
2015-06-23 20:44:24 +00:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2015-07-13 18:17:57 +00:00
|
|
|
minifyEnabled true
|
2015-06-23 20:44:24 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2015-11-17 01:58:48 +00:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ['native-libs']
|
|
|
|
jni.srcDirs = [] //disable automatic ndk-build
|
|
|
|
}
|
|
|
|
}
|
2015-06-23 20:44:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2015-08-27 17:14:40 +00:00
|
|
|
//gson is necessary for the license to be parsed
|
|
|
|
compile 'com.google.code.gson:gson:2.3'
|
|
|
|
|
2015-06-23 20:44:24 +00:00
|
|
|
//include the Affdex SDK jars
|
2015-09-10 17:30:10 +00:00
|
|
|
compile files('libs/Affdex-sdk.jar')
|
|
|
|
compile files('libs/Affdex-sdk-javadoc.jar')
|
2015-06-23 20:44:24 +00:00
|
|
|
compile files('libs/dagger-1.2.2.jar')
|
2015-08-27 17:14:40 +00:00
|
|
|
compile files('libs/flurry-analytics-4.1.0.jar')
|
2015-06-23 20:44:24 +00:00
|
|
|
compile files('libs/javax.inject-1.jar')
|
2015-08-27 17:14:40 +00:00
|
|
|
|
|
|
|
//although the use of the CameraDetector class in this project does not require it, you may have to include
|
|
|
|
//the following dependencies if you use other features of the Affdex SDK
|
|
|
|
//compile 'com.android.support:support-v4:22.2.0'
|
|
|
|
//compile 'com.google.android.gms:play-services:7.5.0'
|
|
|
|
|
2015-06-23 20:44:24 +00:00
|
|
|
}
|