refactor(frame): 调整项目结构
移除buildGradleScript、lib_net模块,将网络层迁移至lib_common层 升级Gradle版本及
This commit is contained in:
38
lib_common/build.gradle
Normal file
38
lib_common/build.gradle
Normal file
@ -0,0 +1,38 @@
|
||||
//****************************************
|
||||
//********* lib_common 的配置文件 **********
|
||||
//****************************************
|
||||
|
||||
apply from: '../base_lib.gradle'
|
||||
|
||||
import com.quyunshuo.androidbaseframemvvm.buildsrc.*
|
||||
|
||||
android {
|
||||
|
||||
defaultConfig {
|
||||
// 相关自定义配置
|
||||
resValue "string", "VERSION_STATUS", ProjectBuildConfig.versionStatus
|
||||
resValue "string", "BUGLY_APP_ID", SDKKeyConfig.BUGLY_APP_ID
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
}
|
||||
|
||||
resourcePrefix "common_"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
|
||||
api project(path: ':lib_base')
|
||||
|
||||
api DependencyConfig.JetPack.HiltCore
|
||||
|
||||
kapt DependencyConfig.GitHub.GlideCompiler
|
||||
kapt DependencyConfig.GitHub.ARouteCompiler
|
||||
kapt DependencyConfig.GitHub.EventBusAPT
|
||||
kapt DependencyConfig.GitHub.AutoServiceAnnotations
|
||||
kapt DependencyConfig.JetPack.HiltApt
|
||||
kapt DependencyConfig.JetPack.HiltAndroidx
|
||||
kapt DependencyConfig.JetPack.LifecycleCompilerAPT
|
||||
}
|
||||
Reference in New Issue
Block a user