apply plugin: 'com.android.library'
|
apply plugin: 'kotlin-android'
|
android {
|
compileSdkVersion 29
|
buildToolsVersion "29.0.3"
|
|
defaultConfig {
|
minSdkVersion 19
|
targetSdkVersion 29
|
versionCode 1
|
versionName "1.0.0"
|
|
}
|
sourceSets {
|
main {
|
jniLibs.srcDirs = ['libs']
|
}
|
}
|
buildTypes {
|
release {
|
minifyEnabled false
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
}
|
}
|
}
|
|
dependencies {
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
//support
|
api "androidx.appcompat:appcompat:$support_version"
|
api "androidx.recyclerview:recyclerview:$support_version"
|
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
//anko
|
api "org.jetbrains.anko:anko:$anko_version"
|
api "org.jetbrains.anko:anko-recyclerview-v7:$anko_version"
|
api "org.jetbrains.anko:anko-recyclerview-v7-coroutines:$anko_version"
|
//retrofit
|
api "com.squareup.retrofit2:retrofit:$retrofit_version"
|
api "com.squareup.retrofit2:converter-gson:$retrofit_version"
|
api "com.squareup.retrofit2:adapter-rxjava2:$retrofit_version"
|
//http日志拦截器
|
api 'com.squareup.okhttp3:logging-interceptor:4.9.1'
|
//rxjava
|
api 'io.reactivex.rxjava2:rxjava:2.2.12'
|
api 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
api 'com.yqritc:recyclerview-flexibledivider:1.4.0'
|
api 'androidx.constraintlayout:constraintlayout:1.1.3'
|
//fresco
|
api 'com.facebook.fresco:fresco:1.13.0'
|
api 'com.facebook.fresco:animated-gif:1.13.0'
|
|
api 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar'
|
api 'com.google.code.gson:gson:2.8.5'
|
api 'com.github.zackratos.ultimatebar:ultimatebar3:3.1.1' //状态栏工具
|
api 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
|
|
}
|