1 Star 0 Fork 0

PhoneTools/BfpCommon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 2.61 KB
一键复制 编辑 原始数据 按行查看 历史
benjaminwan 提交于 2023-01-16 16:47 . 升级BfpCommon
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')
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/phone-tools/bfp-common.git
git@gitee.com:phone-tools/bfp-common.git
phone-tools
bfp-common
BfpCommon
master

搜索帮助