12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion rootProject.ext.compileSdkVersion
- buildToolsVersion rootProject.ext.buildToolsVersion
- defaultConfig {
- minSdkVersion rootProject.ext.minSdkVersion
- targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- javaCompileOptions {
- annotationProcessorOptions {
- arguments = [moduleName: project.getName()]
- }
- }
- }
- compileOptions {
- sourceCompatibility rootProject.ext.appSourceCompatibility
- targetCompatibility rootProject.ext.appTargetCompatibility
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- debug {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- api("com.android.support:appcompat-v7:${support}")
- api("com.android.support:support-v4:${support}")
- api("com.android.support:design:${support}")
- api("com.android.support:recyclerview-v7:${support}")
- api("com.android.support.constraint:constraint-layout:${constraint}")
- api "org.greenrobot:eventbus:${eventbus}"
- api "com.github.CymChad:BaseRecyclerViewAdapterHelper:${chadAdapter}"
- api "com.scwang.smart:refresh-layout-kernel:${smartRefresh}"//核心必须依赖
- api "com.scwang.smart:refresh-header-classics:${smartRefresh}"//经典刷新头
- api "com.scwang.smart:refresh-footer-classics:${smartRefresh}"//经典加载
- api "com.github.bumptech.glide:glide:${glide}"//glide
- annotationProcessor "com.github.bumptech.glide:compiler:${glide}"//glide
- api 'jp.wasabeef:glide-transformations:3.0.1'
- //butterknife依赖
- api "com.jakewharton:butterknife:${butterknife}"
- annotationProcessor "com.jakewharton:butterknife-compiler:${butterknife}"
- //各种shapetextview,view
- api 'com.ruffian.library:RWidgetHelper:1.1.14'
- //集成第三方recycleView
- api 'com.jude:easyrecyclerview:4.4.2'
- //圆形图片
- api 'com.makeramen:roundedimageview:2.3.0'
- api 'com.zhouyou:easyrecyclerview:1.0.6'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'com.android.support.test:runner:1.0.2'
- androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
- }
|