You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
5.3 KiB
150 lines
5.3 KiB
3 years ago
|
apply plugin: 'com.android.library'
|
||
|
apply plugin: 'org.greenrobot.greendao'
|
||
|
apply plugin: 'com.jakewharton.butterknife'
|
||
|
android {
|
||
|
|
||
|
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
||
|
configurations {
|
||
|
all*.exclude group: 'com.android.support', module: 'support-v13'
|
||
|
}
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
|
||
|
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
|
||
|
versionCode Integer.parseInt(project.VERSION_CODE)
|
||
|
versionName project.VERSION_NAME
|
||
|
buildConfigField "String", "APK_NAME", "\"lekangshouhu.apk\""
|
||
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||
|
|
||
|
//"mips", "mips64", 'armeabi', ,'x86','x86_64'
|
||
|
|
||
|
ndk {
|
||
|
abiFilters 'armeabi-v7a','arm64-v8a'
|
||
|
}
|
||
|
//flavorDimensions "channel"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
debug {
|
||
|
}
|
||
|
release {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
lintOptions {
|
||
|
checkReleaseBuilds false
|
||
|
// Or, if you prefer, you can continue to check for errors in release builds,
|
||
|
// but continue the build even when errors are found:
|
||
|
abortOnError false
|
||
|
}
|
||
|
sourceSets {
|
||
|
main {
|
||
|
jniLibs.srcDirs = ['libs']
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
targetCompatibility 1.8
|
||
|
sourceCompatibility 1.8
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ext {
|
||
|
supportLibraryVersion = project.ANDROID_SUPPORT_LIBRARY_VERSION
|
||
|
}
|
||
|
|
||
|
greendao {
|
||
|
schemaVersion 40
|
||
|
daoPackage 'com.lk.baselibrary.dao.gen'
|
||
|
targetGenDir 'src/main/java'
|
||
|
}
|
||
|
repositories {
|
||
|
flatDir {
|
||
|
dirs 'libs'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
api fileTree(include: ['*.jar'], dir: 'libs')
|
||
|
api files('libs/miit_mdid_1.0.10.aar')
|
||
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
||
|
exclude group: 'com.android.support', module: 'support-annotations'
|
||
|
})
|
||
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.10'
|
||
|
annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0'
|
||
|
implementation 'com.jakewharton:butterknife:9.0.0'
|
||
|
testImplementation 'junit:junit:4.12'
|
||
|
api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:1.0.2'
|
||
|
api "com.android.support:appcompat-v7:${supportLibraryVersion}"
|
||
|
api "com.android.support:cardview-v7:${supportLibraryVersion}"
|
||
|
api "com.android.support:recyclerview-v7:${supportLibraryVersion}"
|
||
|
api "com.android.support:design:${supportLibraryVersion}"
|
||
|
api "com.android.support:support-v4:${supportLibraryVersion}"
|
||
|
api 'com.squareup.retrofit2:retrofit:2.2.0'
|
||
|
api 'com.squareup.retrofit2:converter-gson:2.2.0'
|
||
|
api 'com.squareup.okhttp3:logging-interceptor:3.4.1'
|
||
|
api 'com.squareup.okhttp3:okhttp:3.12.1'
|
||
|
api 'com.youth.banner:banner:1.4.10'
|
||
|
api 'com.google.dagger:dagger:2.10'
|
||
|
api 'com.squareup.picasso:picasso:2.5.2'
|
||
|
api 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.0.1'
|
||
|
api 'com.jakewharton.byteunits:byteunits:0.9.1'
|
||
|
api 'org.greenrobot:greendao:3.2.0'
|
||
|
api 'io.reactivex.rxjava2:rxjava:2.0.5'
|
||
|
api 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
|
||
|
api 'io.reactivex.rxjava2:rxandroid:2.0.1'
|
||
|
api 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.3@aar'
|
||
|
api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:1.0.2'
|
||
|
// RxLifecycle
|
||
|
api 'com.trello.rxlifecycle2:rxlifecycle:2.0.1'
|
||
|
api 'com.trello.rxlifecycle2:rxlifecycle-android:2.0.1'
|
||
|
api 'com.trello.rxlifecycle2:rxlifecycle-components:2.0.1'
|
||
|
// Swipe RecyclerView
|
||
|
api 'com.yanzhenjie:recyclerview-swipe:1.0.2'
|
||
|
// MQTT
|
||
|
api 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.2'
|
||
|
api 'commons-codec:commons-codec:1.6'
|
||
|
// EventBus
|
||
|
api 'org.greenrobot:eventbus:3.0.0'
|
||
|
// Material Dialogs
|
||
|
api 'com.afollestad.material-dialogs:core:0.9.4.5'
|
||
|
// MultiDex
|
||
|
api 'com.android.support:multidex:1.0.3'
|
||
|
api 'com.github.florent37:viewanimator:1.0.4'
|
||
|
// compile 'me.iwf.photopicker:PhotoPicker:0.9.5@aar'
|
||
|
// compile 'com.github.bumptech.glide:glide:3.7.0'
|
||
|
// Twinkling Refresh Layout
|
||
|
api 'com.lcodecorex:tkrefreshlayout:1.0.5'
|
||
|
api 'com.makeramen:roundedimageview:2.3.0'
|
||
|
api 'com.bugtags.library:bugtags-lib:latest.integration'
|
||
|
api 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
|
||
|
api 'cn.bingoogolapple:bga-badgeview-api:1.1.8'
|
||
|
annotationProcessor "cn.bingoogolapple:bga-badgeview-compiler:1.1.8"
|
||
|
// compile "me.leolin:ShortcutBadger:1.1.19@aar"
|
||
|
api 'me.leolin:ShortcutBadger:1.1.13@aar'
|
||
|
api project(':PhotoPicker')
|
||
|
api 'com.github.bumptech.glide:glide:4.0.0'
|
||
|
api('com.alibaba.android:vlayout:1.2.8@aar') {
|
||
|
transitive = true
|
||
|
}
|
||
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0'
|
||
|
|
||
|
api files("libs/vivo_pushsdk-v2.9.0.0.aar")
|
||
|
api files("libs/com.heytap.msp.aar")
|
||
|
|
||
|
api('com.aliyun.ams:alicloud-android-httpdns:1.3.3@aar') {
|
||
|
transitive true
|
||
|
}
|
||
|
|
||
|
api files("libs/videolib-2.0.6.aar")
|
||
|
api 'io.netty:netty-all:4.1.43.Final'
|
||
|
api 'com.google.protobuf:protobuf-java:3.0.0'
|
||
|
api 'com.orhanobut:logger:1.15'
|
||
|
|
||
|
//api 'net.sourceforge.streamsupport:android‐retrostreams_all:1.7.3.2'
|
||
|
api 'net.sourceforge.streamsupport:streamsupport:1.7.3'
|
||
|
|
||
|
//api 'com.parkingwang:okhttp3-loginterceptor:latest.integration'
|
||
|
|
||
|
api group: 'io.agora.rtc', name: 'full-sdk', version: '3.7.0'
|
||
|
}
|