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" } buildTypes { def BOOLEAN = "boolean" def TRUE = "true" def FALSE = "false" def IS_SHOW_LOG = "IS_SHOW_LOG" release { minifyEnabled false buildConfigField BOOLEAN, IS_SHOW_LOG, FALSE proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } publishNonDefault true } //repositories { // flatDir { // dirs 'libs' //this way we can find the .aar file in libs folder // } // google() //} dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' // Android support compile "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion" compile "com.android.support:cardview-v7:$rootProject.supportLibraryVersion" compile "com.android.support:design:$rootProject.supportLibraryVersion" compile "com.android.support:recyclerview-v7:$rootProject.supportLibraryVersion" //delete compile 'com.yanzhenjie:recyclerview-swipe:1.1.4' // Retrofit compile "com.squareup.retrofit2:retrofit:$rootProject.retrofitVersion" compile "com.squareup.retrofit2:converter-gson:$rootProject.retrofitVersion" compile "com.squareup.retrofit2:adapter-rxjava2:$rootProject.retrofitVersion" compile "com.squareup.okhttp3:logging-interceptor:$rootProject.okhttploggingVersion" compile "com.squareup.okhttp3:okhttp:$rootProject.okhttpVersion" // RxJava compile "io.reactivex.rxjava2:rxjava:$rootProject.rxjavaVersion" compile "io.reactivex.rxjava2:rxandroid:$rootProject.rxandroidVersion" compile "com.jakewharton.rxbinding2:rxbinding:$rootProject.rxbindingVersion" // Glide compile "com.github.bumptech.glide:glide:$rootProject.glideVersion" compile "com.github.bumptech.glide:okhttp-integration:$rootProject.glideokhttpVersion" compile "jp.wasabeef:glide-transformations:$rootProject.glideTransformationVersion" //Butterknife compile "com.jakewharton:butterknife:$rootProject.butterknifeVersion" annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0' //fragmentation compile "me.yokeyword:fragmentation:$rootProject.fragmentationVersion" //Logger compile "com.orhanobut:logger:$rootProject.loggerVersion" //circle imageview compile "de.hdodenhof:circleimageview:$rootProject.circleImageviewVersion" //BaseRecyclerViewAdapterHelper compile "com.github.CymChad:BaseRecyclerViewAdapterHelper:$rootProject.BaseRecyclerViewAdapterHelperVersion" //SwitchButton compile "com.kyleduo.switchbutton:library:$rootProject.SwtichButtonVersion" //PhotoView compile "com.bm.photoview:library:$rootProject.PhotoViewVersion" compile "com.cocosw:bottomsheet:$rootProject.BottomSheetVersion" //permissions compile "com.tbruyelle.rxpermissions2:rxpermissions:$rootProject.rxPerssionsVersion" //timber compile 'com.jakewharton.timber:timber:4.5.1' //jiaozivideoplayer compile 'cn.jzvd:jiaozivideoplayer:6.2.7' // compile(name: 'jiaozivideoplayer-6.2.3', ext: 'aar') //轮播图XBanner compile 'com.xhb:xbanner:1.3.1' //省市区联动 compile 'me.leefeng:citypicker:1.0' //日历控件 compile 'com.github.idic779:monthweekmaterialcalendarview:1.7' //标签拖动排序 compile 'com.huxq17.handygridview:handygridview:1.1.0' //xrecyclerview compile 'com.jcodecraeer:xrecyclerview:1.5.9' //悬浮窗 // compile 'com.github.yhaolpz:FloatWindow:1.0.8' //数据库 compile 'com.j256.ormlite:ormlite-core:4.48' compile 'com.j256.ormlite:ormlite-android:4.48' }