66陪玩-origin
This commit is contained in:
89
library/build.gradle
Normal file
89
library/build.gradle
Normal file
@@ -0,0 +1,89 @@
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
android {
|
||||
compileSdkVersion 27
|
||||
defaultConfig {
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 26
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
dataBinding {
|
||||
enabled = true
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
staging {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
def supportLibraryVersion = "27.1.1"
|
||||
def glideVersion = "4.4.0"
|
||||
def retrofitVersion = "2.3.0"
|
||||
def okhttp3 = "3.12.0"
|
||||
def okio = "1.16.0"
|
||||
def rxjava_adapter = "2.3.0"
|
||||
def gson_converter = "2.3.0"
|
||||
def rxjava = "2.1.7"
|
||||
def rxjava_android = "2.0.1"
|
||||
def rxlifecycle = "2.1.0"
|
||||
def loggerVersion = "2.1.1"
|
||||
def qiniu = "7.3.15"
|
||||
def SmartRefreshLayoutVersion = "1.0.3"
|
||||
def eventbusVersion = "3.0.0"
|
||||
|
||||
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
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'
|
||||
|
||||
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
||||
|
||||
api "com.android.support:appcompat-v7:${supportLibraryVersion}"
|
||||
api "com.android.support:recyclerview-v7:${supportLibraryVersion}"
|
||||
api "com.android.support:design:${supportLibraryVersion}"
|
||||
|
||||
api "com.squareup.retrofit2:retrofit:${retrofitVersion}"
|
||||
api "com.squareup.okhttp3:okhttp:${okhttp3}"
|
||||
api "com.squareup.okhttp3:logging-interceptor:${okhttp3}"
|
||||
api "com.squareup.retrofit2:adapter-rxjava2:${rxjava_adapter}"
|
||||
api "com.squareup.retrofit2:converter-gson:${gson_converter}"
|
||||
|
||||
api "com.squareup.okio:okio:${okio}"
|
||||
|
||||
api "com.scwang.smartrefresh:SmartRefreshLayout:${SmartRefreshLayoutVersion}"
|
||||
api "com.scwang.smartrefresh:SmartRefreshHeader:${SmartRefreshLayoutVersion}"
|
||||
|
||||
api "io.reactivex.rxjava2:rxjava:${rxjava}"
|
||||
api "io.reactivex.rxjava2:rxandroid:${rxjava_android}"
|
||||
api "com.trello.rxlifecycle2:rxlifecycle:${rxlifecycle}"
|
||||
api "com.trello.rxlifecycle2:rxlifecycle-components:${rxlifecycle}"
|
||||
api "com.trello.rxlifecycle2:rxlifecycle-android:${rxlifecycle}"
|
||||
|
||||
api "com.github.bumptech.glide:glide:${glideVersion}"
|
||||
annotationProcessor "com.github.bumptech.glide:compiler:${glideVersion}"
|
||||
|
||||
api "com.orhanobut:logger:${loggerVersion}"
|
||||
|
||||
api "com.qiniu:qiniu-android-sdk:${qiniu}"
|
||||
|
||||
api "org.greenrobot:eventbus:${eventbusVersion}"
|
||||
|
||||
}
|
Reference in New Issue
Block a user