代码拉取完成,页面将自动刷新
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'kotlin-parcelize'
id 'kotlin-kapt'
}
android {
namespace 'com.bfdx.bfpcommon'
compileSdkVersion compile_sdk_version
defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
kapt {
correctErrorTypes = true
}
viewBinding {
enabled = true
}
}
dependencies {
api fileTree(dir: 'libs', include: ['*.jar'])
//testImplementation 'junit:junit:4.12'
//androidTestImplementation 'androidx.test.ext:junit:1.1.0'
//androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
//Kotlin标准库
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
//Google
implementation "androidx.appcompat:appcompat:$appcompat_version"
implementation "androidx.core:core-ktx:$core_version"
implementation "com.google.android.material:material:$material_version"
implementation "androidx.recyclerview:recyclerview:$recyclerview_version"
implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
//Google Navigation
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
implementation "androidx.navigation:navigation-ui-ktx:$navigation_version"
//Logger
implementation 'com.orhanobut:logger:2.2.0'
//AndroidAutoSize 自适应布局
implementation 'com.github.JessYanCoding:AndroidAutoSize:v1.2.1'
//XUI
implementation "com.github.xuexiangjys:XUI:$xui_version"
//MvRx
//implementation "com.airbnb.android:mvrx:$mvrx_version"
implementation "com.airbnb.android:mavericks-rxjava2:$mvrx_version"
//epoxy
implementation "com.airbnb.android:epoxy:$epoxy_version"
kapt "com.airbnb.android:epoxy-processor:$epoxy_version"
//Moshi
api 'com.squareup.moshi:moshi-kotlin:1.11.0'
api(name: 'SPPHelper-1.6', ext: 'aar')
api(name: 'USBHelper-1.6', ext: 'aar')
api(name: 'SwipeMenuLayout-1.1', ext: 'aar')
api project(':CommonUtils')
api project(':CommonUtilsCompat')
api project(':CommonUtilsMaterial')
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。