Files
mendian/base/build.gradle
2025-12-26 15:36:42 +08:00

64 lines
1.9 KiB
Groovy

apply plugin: 'com.android.library'
android {
namespace 'com.fanghoo.base'
compileSdk rootProject.compileVersion
compileSdkVersion rootProject.compileVersion
buildToolsVersion rootProject.buildVersion
defaultConfig {
minSdkVersion rootProject.ext.android.minSdkVersion
targetSdkVersion rootProject.ext.android.targetSdkVersion
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
//状态栏颜色
api 'com.readystatesoftware.systembartint:systembartint:1.0.4'
api 'com.squareup.okhttp:okhttp:2.0.0'
api rootProject.ext.dependence.libGson
api rootProject.ext.dependence.logger
//必须使用
api 'com.lzy.net:okgo:3.0.4'
api 'com.lzy.net:okrx2:2.0.2'
api 'com.lzy.net:okserver:2.0.5'
//android 6.0权限处理
api 'pub.devrel:easypermissions:1.2.0'
api files('libs/fastjson-1.1.43.android.jar')
api 'io.reactivex.rxjava2:rxandroid:2.0.1'
api 'io.reactivex.rxjava2:rxjava:2.1.5'
api 'com.google.android.material:material:1.0.0'
implementation 'com.github.oneAcorn:OverlayCardViewPager:v1.0'
//RecyclerAdapter框架
api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
api 'androidx.recyclerview:recyclerview:1.0.0'
//cardView
api 'androidx.cardview:cardview:1.0.0'
implementation 'com.github.bumptech.glide:glide:4.5.0'
//引入ormlite
implementation 'com.j256.ormlite:ormlite-core:5.1'
implementation 'com.j256.ormlite:ormlite-android:5.1'
}