|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'android-apt'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 21
|
|
|
|
buildToolsVersion '21.1.1'
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 15
|
|
|
|
targetSdkVersion 21
|
|
|
|
versionCode 217
|
|
|
|
versionName '2.5.0-SNAPSHOT'
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
runProguard 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.1'
|
|
|
|
compile 'com.j256.ormlite:ormlite-core:4.48'
|
|
|
|
compile 'com.j256.ormlite:ormlite-android:4.48'
|
|
|
|
compile 'de.keyboardsurfer.android.widget:crouton:1.8.5@aar'
|
|
|
|
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.+'
|
|
|
|
compile 'com.android.support:appcompat-v7:21.0.0'
|
|
|
|
compile 'com.android.support:support-annotations:20.0.0'
|
|
|
|
compile 'com.getbase:floatingactionbutton:1.2.1'
|
|
|
|
compile 'com.afollestad:material-dialogs:0.3.6'
|
|
|
|
apt 'org.androidannotations:androidannotations:3.1'
|
|
|
|
}
|
|
|
|
|
|
|
|
apt {
|
|
|
|
arguments {
|
|
|
|
androidManifestFile variant.processResources.manifestFile
|
|
|
|
resourcePackageName 'org.transdroid'
|
|
|
|
//logLevel 'INFO'
|
|
|
|
//logFile '/Users/erickok/Dev/transdroid/transdroid/app/build/aa-log.txt'
|
|
|
|
}
|
|
|
|
}
|