|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
buildToolsVersion '28.0.3'
|
|
|
|
useLibrary 'org.apache.http.legacy'
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 15
|
|
|
|
targetSdkVersion 28
|
|
|
|
versionCode 231
|
|
|
|
versionName '2.5.11'
|
|
|
|
|
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
arguments = [
|
|
|
|
"resourcePackageName": "org.transdroid",
|
|
|
|
"androidManifestFile": "/Users/erickok/Android/2312/transdroid/app/src/main/AndroidManifest.xml"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
signingConfigs {
|
|
|
|
releaseConfig {
|
|
|
|
keyAlias 'transdroid'
|
|
|
|
keyPassword ''
|
|
|
|
storeFile file('../../erickok.keystore')
|
|
|
|
storePassword ''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
signingConfig signingConfigs.releaseConfig
|
|
|
|
minifyEnabled false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
flavorDimensions "version"
|
|
|
|
productFlavors {
|
|
|
|
full {
|
|
|
|
dimension "version"
|
|
|
|
applicationId 'org.transdroid.full'
|
|
|
|
resValue "string", "search_history_authority", applicationId + ".search.SearchHistoryProvider"
|
|
|
|
}
|
|
|
|
lite {
|
|
|
|
dimension "version"
|
|
|
|
applicationId 'org.transdroid.lite'
|
|
|
|
resValue "string", "search_history_authority", applicationId + ".search.SearchHistoryProvider"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation', 'ExtraTranslation', 'StringFormatInvalid', 'ValidFragment'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.androidannotations:androidannotations-api:4.4.0'
|
|
|
|
implementation 'org.androidannotations:ormlite-api:4.4.0'
|
|
|
|
implementation 'com.j256.ormlite:ormlite-core:4.48'
|
|
|
|
implementation 'com.j256.ormlite:ormlite-android:4.48'
|
|
|
|
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
|
|
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
|
|
implementation 'com.android.support:support-annotations:28.0.0'
|
|
|
|
implementation 'com.getbase:floatingactionbutton:1.10.1'
|
|
|
|
implementation 'com.nispok:snackbar:2.11.0'
|
|
|
|
implementation 'com.github.aegnor:rencode-java:cb628e824e'
|
|
|
|
implementation('com.github.afollestad.material-dialogs:core:0.9.6.0@aar') {
|
|
|
|
transitive = true
|
|
|
|
}
|
|
|
|
annotationProcessor 'org.androidannotations:androidannotations:4.4.0'
|
|
|
|
annotationProcessor 'org.androidannotations:ormlite:4.4.0'
|
|
|
|
}
|
|
|
|
|