|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'android-apt'
|
|
|
|
apply from: '../signing.gradle'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 19
|
|
|
|
buildToolsVersion '20.0.0'
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 15
|
|
|
|
targetSdkVersion 19
|
|
|
|
versionCode 216
|
|
|
|
versionName '2.3.0'
|
|
|
|
}
|
|
|
|
signingConfigs {
|
|
|
|
release {
|
|
|
|
storeFile STORE_FILE
|
|
|
|
storePassword STORE_PASSWORD
|
|
|
|
keyAlias KEY_ALIAS
|
|
|
|
keyPassword KEY_PASSWORD
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
runProguard false
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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 'com.github.chrisbanes.actionbarpulltorefresh:library:0.8'
|
|
|
|
compile 'de.keyboardsurfer.android.widget:crouton:1.8.+'
|
|
|
|
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.+'
|
|
|
|
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'
|
|
|
|
}
|
|
|
|
}
|