From 0ec9693c39a910233fc186a8cefab9f61030df78 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 07 三月 2025 18:09:32 +0800 Subject: [PATCH] refactor(generallibrary):重构网络请求模块 --- generallibrary/build.gradle | 32 +++++++++++++++++++++++++------- 1 files changed, 25 insertions(+), 7 deletions(-) diff --git a/generallibrary/build.gradle b/generallibrary/build.gradle index cf692d6..80bf8d8 100644 --- a/generallibrary/build.gradle +++ b/generallibrary/build.gradle @@ -8,7 +8,7 @@ compileSdk 34 defaultConfig { - minSdk 24 + minSdk 23 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" @@ -27,14 +27,25 @@ kotlinOptions { jvmTarget = '1.8' } + dataBinding { + enabled = true; + } + viewBinding { + enabled = true; + } + externalNativeBuild { + cmake { + path "CMakeLists.txt" + } + } } dependencies { implementation project(":baselibrary") - implementation 'androidx.core:core-ktx:1.15.0' - implementation 'androidx.appcompat:appcompat:1.7.0' - implementation 'com.google.android.material:material:1.12.0' + implementation 'androidx.core:core-ktx:1.12.0' + implementation 'androidx.appcompat:appcompat:1.6.1' + implementation 'com.google.android.material:material:1.11.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.2.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' @@ -62,7 +73,14 @@ implementation 'com.pnikosis:materialish-progress:1.7' //鍒楄〃 - compileOnly 'io.github.scwang90:refresh-layout-kernel:2.0.5' - compileOnly 'io.github.scwang90:refresh-header-classics:2.0.5' - compileOnly 'androidx.recyclerview:recyclerview:1.2.0'//缁忓吀鍒锋柊澶� + implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5' + implementation 'io.github.scwang90:refresh-header-classics:2.0.5' + implementation 'androidx.recyclerview:recyclerview:1.3.2' + + //寤鸿娣诲姞 ViewPager2 鐨勬槑纭緷璧� + implementation "androidx.viewpager2:viewpager2:1.1.0-beta01" + implementation "androidx.fragment:fragment:1.6.2" + implementation files('../baselibrary/libs/avi.library-2.1.3.aar') + + implementation 'com.tencent.bugly:crashreport:4.1.9.3' } \ No newline at end of file -- Gitblit v1.8.0