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.
android-libs/lib_base/build.gradle

122 lines
3.0 KiB

5 years ago
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
}
kotlinOptions {
jvmTarget = "1.8"
}
5 years ago
}
dependencies {
api fileTree(dir: 'libs', include: ['*.jar'])
//测试
testImplementation testLibraries.junit
//AndroidSupport
5 years ago
api androidLibraries.supportV4
api androidLibraries.appcompat
api androidLibraries.recyclerView
5 years ago
api androidLibraries.material
api androidLibraries.percentLayout
5 years ago
api androidLibraries.constraintLayout
5 years ago
api androidLibraries.annotation
5 years ago
//AAC
api androidLibraries.archRuntime
api androidLibraries.archCommon
api androidLibraries.fragmentKtx
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
5 years ago
//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.autoDisposeAndroid
api thirdLibraries.autoDisposeLifecycle
5 years ago
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
//Log
api thirdLibraries.timber
//ImageLoader
api thirdLibraries.glide
api thirdLibraries.glideOkHttp
api thirdLibraries.okHttp
//Utils
api thirdLibraries.utilcode
api thirdLibraries.jOOR
api thirdLibraries.supportOptional
5 years ago
}