You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
2.9 KiB
116 lines
2.9 KiB
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
androidExtensions {
|
|
experimental = true
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion rootProject.minSdkVersion
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
includeCompileClasspath false
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
//测试
|
|
testImplementation testLibraries.junit
|
|
|
|
//AndroidSupport
|
|
api androidLibraries.supportV4
|
|
api androidLibraries.appcompat
|
|
api androidLibraries.recyclerview
|
|
api androidLibraries.material
|
|
api androidLibraries.percentLayout
|
|
api androidLibraries.constraintLayout
|
|
api androidLibraries.annotation
|
|
|
|
//AAC
|
|
api androidLibraries. archRuntime
|
|
api androidLibraries. archCommon
|
|
api androidLibraries. lifecycleCommon
|
|
api androidLibraries. lifecycleCommonJava8
|
|
api androidLibraries. lifecycleRuntimeKtx
|
|
api androidLibraries. lifecycleLiveDataCore
|
|
api androidLibraries. lifecycleLiveData
|
|
api androidLibraries. lifecycleLiveKtx
|
|
api androidLibraries. lifecycleViewModel
|
|
api androidLibraries. lifecycleViewModelKtx
|
|
api androidLibraries. lifecycleExtensions
|
|
api androidLibraries. lifecycleReactiveStreams
|
|
|
|
//Kotlin
|
|
api kotlinLibraries.kotlinStdlib
|
|
api kotlinLibraries.kotlinReflect
|
|
api kotlinLibraries.kotlinCoroutines
|
|
api kotlinLibraries.kotlinAndroidCoroutines
|
|
|
|
//RxJava
|
|
api thirdLibraries.rxJava
|
|
api thirdLibraries.rxAndroid
|
|
api thirdLibraries.rxBinding
|
|
api thirdLibraries.autoDispose
|
|
api thirdLibraries.autoDisposeLifecycleArchcomponents
|
|
|
|
/*Dagger2*/
|
|
api thirdLibraries.dagger2
|
|
api thirdLibraries.jsr305
|
|
api thirdLibraries.dagger2Android
|
|
api thirdLibraries.dagger2AndroidSupport
|
|
kapt thirdLibraries.dagger2Apt
|
|
kapt thirdLibraries.dagger2AndroidApt
|
|
|
|
//LoadMore
|
|
api uiLibraries.wrapperAdapter
|
|
|
|
//Adapter
|
|
api uiLibraries.multiType
|
|
api uiLibraries.multiTypeKotlin
|
|
|
|
//Log
|
|
api thirdLibraries.timber
|
|
|
|
//ImageLoader
|
|
api thirdLibraries.glide
|
|
api thirdLibraries.glideOkHttp
|
|
api thirdLibraries.okHttp
|
|
|
|
//Utils
|
|
api thirdLibraries.utilcode
|
|
api thirdLibraries.jOOR
|
|
api thirdLibraries.supportOptional
|
|
|
|
} |