129 lines
4.6 KiB
Groovy
129 lines
4.6 KiB
Groovy
|
|
apply plugin: 'com.android.library'
|
|||
|
|
apply plugin: 'com.jakewharton.butterknife'
|
|||
|
|
android {
|
|||
|
|
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
|||
|
|
buildToolsVersion buildToolsVersion
|
|||
|
|
|
|||
|
|
defaultConfig {
|
|||
|
|
minSdkVersion rootProject.ext.android.minSdkVersion
|
|||
|
|
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
|||
|
|
multiDexEnabled true
|
|||
|
|
|
|||
|
|
ndk {
|
|||
|
|
//设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so)
|
|||
|
|
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86","arm64-v8a","x86_64"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
javaCompileOptions {
|
|||
|
|
annotationProcessorOptions {
|
|||
|
|
arguments = [AROUTER_MODULE_NAME: project.getName()]
|
|||
|
|
// includeCompileClasspath = true
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
buildTypes {
|
|||
|
|
release {
|
|||
|
|
minifyEnabled false
|
|||
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// repositories {
|
|||
|
|
// flatDir {
|
|||
|
|
// dirs 'libs'
|
|||
|
|
// }
|
|||
|
|
// }
|
|||
|
|
|
|||
|
|
buildFeatures{
|
|||
|
|
dataBinding = true
|
|||
|
|
}
|
|||
|
|
/* dataBinding {
|
|||
|
|
enabled = true
|
|||
|
|
}*/
|
|||
|
|
compileOptions {
|
|||
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|||
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|||
|
|
}
|
|||
|
|
namespace 'cn.artprofessor.common_base'
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
dependencies {
|
|||
|
|
api fileTree(include: ['*.?ar'], dir: 'libs')
|
|||
|
|
api project(':CellsysRxSDK')
|
|||
|
|
//releaseApi(name: "universal-image-loader-1.9.5", ext: 'jar')
|
|||
|
|
implementation files('libs/CellsysCoreSDK-V0.1.10.aar')
|
|||
|
|
|
|||
|
|
api project(':CellsysRxSDK')
|
|||
|
|
api project(':editor')
|
|||
|
|
api project(':TaskQueue')
|
|||
|
|
|
|||
|
|
//api 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
|
|||
|
|
|
|||
|
|
api rootProject.ext.dependencies['appcompat-v7']
|
|||
|
|
api rootProject.ext.dependencies['design']
|
|||
|
|
api rootProject.ext.dependencies['support-v4']
|
|||
|
|
api rootProject.ext.dependencies['cardview-v7']
|
|||
|
|
api rootProject.ext.dependencies['annotations']
|
|||
|
|
api rootProject.ext.dependencies['recyclerview-v7']
|
|||
|
|
api rootProject.ext.dependencies['constraint-layout']
|
|||
|
|
api rootProject.ext.dependencies['gson']
|
|||
|
|
api rootProject.ext.dependencies['constraint-layout']
|
|||
|
|
api rootProject.ext.dependencies['retrofit']
|
|||
|
|
api rootProject.ext.dependencies['rxandroid']
|
|||
|
|
api rootProject.ext.dependencies['rxjava']
|
|||
|
|
api rootProject.ext.dependencies['converter-gson']
|
|||
|
|
api rootProject.ext.dependencies['adapter-rxjava']
|
|||
|
|
api rootProject.ext.dependencies['okhttp']
|
|||
|
|
api rootProject.ext.dependencies['logging-interceptor']
|
|||
|
|
api rootProject.ext.dependencies['fastjson']
|
|||
|
|
api rootProject.ext.dependencies['recycler-adapter-helper']
|
|||
|
|
api rootProject.ext.dependencies['glide']
|
|||
|
|
api rootProject.ext.dependencies['photoView']
|
|||
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|||
|
|
annotationProcessor rootProject.ext.dependencies['glide-compiler']
|
|||
|
|
|
|||
|
|
// butterknife
|
|||
|
|
// api rootProject.ext.dependencies['butterknife']
|
|||
|
|
// annotationProcessor rootProject.ext.dependencies['butterknife-compiler']
|
|||
|
|
// arouter
|
|||
|
|
api rootProject.ext.dependencies['arouter-api']
|
|||
|
|
annotationProcessor rootProject.ext.dependencies['arouter-compiler']
|
|||
|
|
api rootProject.ext.dependencies['banner']
|
|||
|
|
api rootProject.ext.dependencies['greendao']
|
|||
|
|
api rootProject.ext.dependencies['retrofit-cookie']
|
|||
|
|
api rootProject.ext.dependencies['smart-refreshlayout']
|
|||
|
|
api rootProject.ext.dependencies['photoview']
|
|||
|
|
api rootProject.ext.dependencies['andpermission']
|
|||
|
|
api rootProject.ext.dependencies['eventbus']
|
|||
|
|
api rootProject.ext.dependencies['aspectj']
|
|||
|
|
api rootProject.ext.dependencies['permissionx']
|
|||
|
|
api 'com.zhy:flowlayout-lib:1.0.3'
|
|||
|
|
|
|||
|
|
api 'com.gyf.immersionbar:immersionbar:3.0.0'
|
|||
|
|
//全局加载视图框架
|
|||
|
|
api 'com.kingja.loadsir:loadsir:1.3.8'
|
|||
|
|
api 'org.greenrobot:eventbus:3.2.0'
|
|||
|
|
//qmui
|
|||
|
|
api 'com.qmuiteam:qmui:2.0.0-alpha10'
|
|||
|
|
api 'io.github.zguop:pager2Banner:1.0.5'
|
|||
|
|
// api 'com.qmuiteam:qmui:1.4.0'
|
|||
|
|
// //3D地图so及jar
|
|||
|
|
// api 'com.amap.api:3dmap:latest.integration'
|
|||
|
|
// //定位功能
|
|||
|
|
// api 'com.amap.api:location:latest.integration'
|
|||
|
|
// //搜索功能
|
|||
|
|
// api 'com.amap.api:search:latest.integration'
|
|||
|
|
|
|||
|
|
api 'com.amap.api:3dmap:7.8.0'
|
|||
|
|
api 'com.amap.api:location:5.2.0'
|
|||
|
|
api 'com.amap.api:search:7.7.0'
|
|||
|
|
|
|||
|
|
//SensorMeterReading模块
|
|||
|
|
api 'com.guolindev.permissionx:permissionx:1.7.1'
|
|||
|
|
api 'com.airkoon.android:bleBeacon:1.1.1'
|
|||
|
|
api 'com.airkoon.android:taskqueue:1.0.0'//已经有了
|
|||
|
|
api 'com.airkoon.android:BleLib:1.0.0'
|
|||
|
|
api 'com.airkoon.android:SensorMeterReading:1.2.0'
|
|||
|
|
|
|||
|
|
}
|