|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'android-apt'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 22
|
|
|
|
buildToolsVersion '21.1.2'
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 15
|
|
|
|
targetSdkVersion 22
|
|
|
|
versionCode 217
|
|
|
|
versionName '2.5.0-SNAPSHOT'
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
productFlavors {
|
|
|
|
full {
|
|
|
|
applicationId 'org.transdroid.full'
|
|
|
|
resValue "string", "search_history_authority", applicationId + ".search.SearchHistoryProvider"
|
|
|
|
}
|
|
|
|
lite {
|
|
|
|
applicationId 'org.transdroid.lite'
|
|
|
|
resValue "string", "search_history_authority", applicationId + ".search.SearchHistoryProvider"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation', 'ExtraTranslation'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
compile 'org.androidannotations:androidannotations-api:3.2'
|
|
|
|
compile 'com.j256.ormlite:ormlite-core:4.48'
|
|
|
|
compile 'com.j256.ormlite:ormlite-android:4.48'
|
|
|
|
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
|
|
|
|
compile 'com.android.support:appcompat-v7:22.1.0'
|
|
|
|
compile 'com.android.support:support-annotations:20.0.0'
|
|
|
|
compile 'com.getbase:floatingactionbutton:1.8.0'
|
|
|
|
compile 'com.afollestad:material-dialogs:0.6.3.3'
|
|
|
|
compile 'com.nispok:snackbar:2.10.6'
|
|
|
|
apt 'org.androidannotations:androidannotations:3.2'
|
|
|
|
}
|
|
|
|
|
|
|
|
apt {
|
|
|
|
arguments {
|
|
|
|
androidManifestFile variant.outputs[0].processResources.manifestFile
|
|
|
|
resourcePackageName 'org.transdroid'
|
|
|
|
//logLevel 'INFO'
|
|
|
|
//logFile '/Users/erickok/Dev/transdroid/transdroid/app/build/aa-log.txt'
|
|
|
|
}
|
|
|
|
}
|