浏览代码

feat: 接入dependencyGuard,监控依赖项

XiaodongLin 11 月之前
父节点
当前提交
7f9bb78da0
共有 3 个文件被更改,包括 300 次插入0 次删除
  1. 7 0
      app/build.gradle
  2. 289 0
      app/dependencies/releaseRuntimeClasspath.txt
  3. 4 0
      app/dependencyGuard.gradle

+ 7 - 0
app/build.gradle

@@ -6,6 +6,7 @@ plugins {
     id 'org.jetbrains.kotlin.kapt'
     id 'com.tencent.vasdolly'
     id 'kotlin-parcelize'
+    id("com.dropbox.dependency-guard") version "0.5.0"
 }
 
 def isOfficial = project.OFFICIAL == "true"
@@ -17,6 +18,7 @@ println("IS_RELEASE:" + project.IS_RELEASE)
 //apply from: "aab_res_guard.gradle"
 
 apply from: "zip-audio-to-assets.gradle"
+apply from: "dependencyGuard.gradle"
 
 def hookConfigByLocalProperties(String localKey, String defaultValue) {
     String config = readLocalProperties(localKey)
@@ -448,4 +450,9 @@ dependencies {
     androidTestImplementation libs.androidx.junit
     androidTestImplementation libs.androidx.espresso.core
 
+}
+
+
+dependencyGuard {
+    configuration("releaseRuntimeClasspath")
 }

+ 289 - 0
app/dependencies/releaseRuntimeClasspath.txt

@@ -0,0 +1,289 @@
+androidx.activity:activity-ktx:1.9.1
+androidx.activity:activity:1.9.1
+androidx.annotation:annotation-experimental:1.4.1
+androidx.annotation:annotation-jvm:1.8.1
+androidx.annotation:annotation:1.8.1
+androidx.appcompat:appcompat-resources:1.7.0
+androidx.appcompat:appcompat:1.7.0
+androidx.arch.core:core-common:2.2.0
+androidx.arch.core:core-runtime:2.2.0
+androidx.asynclayoutinflater:asynclayoutinflater:1.0.0
+androidx.browser:browser:1.0.0
+androidx.camera:camera-camera2:1.4.2
+androidx.camera:camera-core:1.4.2
+androidx.camera:camera-lifecycle:1.4.2
+androidx.camera:camera-video:1.4.2
+androidx.camera:camera-view:1.4.2
+androidx.cardview:cardview:1.0.0
+androidx.collection:collection-ktx:1.1.0
+androidx.collection:collection:1.2.0
+androidx.concurrent:concurrent-futures-ktx:1.1.0
+androidx.concurrent:concurrent-futures:1.1.0
+androidx.constraintlayout:constraintlayout-core:1.0.4
+androidx.constraintlayout:constraintlayout:2.1.4
+androidx.coordinatorlayout:coordinatorlayout:1.1.0
+androidx.core:core-ktx:1.13.1
+androidx.core:core:1.13.1
+androidx.cursoradapter:cursoradapter:1.0.0
+androidx.customview:customview-poolingcontainer:1.0.0
+androidx.customview:customview:1.1.0
+androidx.databinding:viewbinding:8.5.1
+androidx.datastore:datastore-core:1.0.0
+androidx.datastore:datastore-preferences-core:1.0.0
+androidx.datastore:datastore-preferences:1.0.0
+androidx.datastore:datastore:1.0.0
+androidx.documentfile:documentfile:1.0.0
+androidx.drawerlayout:drawerlayout:1.1.1
+androidx.dynamicanimation:dynamicanimation:1.0.0
+androidx.emoji2:emoji2-views-helper:1.3.0
+androidx.emoji2:emoji2:1.3.0
+androidx.exifinterface:exifinterface:1.3.7
+androidx.fragment:fragment-ktx:1.8.2
+androidx.fragment:fragment:1.8.2
+androidx.interpolator:interpolator:1.0.0
+androidx.legacy:legacy-support-core-ui:1.0.0
+androidx.legacy:legacy-support-core-utils:1.0.0
+androidx.legacy:legacy-support-v4:1.0.0
+androidx.lifecycle:lifecycle-common-java8:2.8.4
+androidx.lifecycle:lifecycle-common-jvm:2.8.4
+androidx.lifecycle:lifecycle-common:2.8.4
+androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.4
+androidx.lifecycle:lifecycle-livedata-core:2.8.4
+androidx.lifecycle:lifecycle-livedata-ktx:2.8.4
+androidx.lifecycle:lifecycle-livedata:2.8.4
+androidx.lifecycle:lifecycle-process:2.8.4
+androidx.lifecycle:lifecycle-runtime-android:2.8.4
+androidx.lifecycle:lifecycle-runtime-ktx-android:2.8.4
+androidx.lifecycle:lifecycle-runtime-ktx:2.8.4
+androidx.lifecycle:lifecycle-runtime:2.8.4
+androidx.lifecycle:lifecycle-service:2.8.4
+androidx.lifecycle:lifecycle-viewmodel-android:2.8.4
+androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.4
+androidx.lifecycle:lifecycle-viewmodel-savedstate:2.8.4
+androidx.lifecycle:lifecycle-viewmodel:2.8.4
+androidx.loader:loader:1.0.0
+androidx.localbroadcastmanager:localbroadcastmanager:1.0.0
+androidx.media3:media3-common:1.4.1
+androidx.media3:media3-container:1.4.1
+androidx.media3:media3-database:1.4.1
+androidx.media3:media3-datasource:1.4.1
+androidx.media3:media3-decoder:1.4.1
+androidx.media3:media3-exoplayer-dash:1.4.1
+androidx.media3:media3-exoplayer:1.4.1
+androidx.media3:media3-extractor:1.4.1
+androidx.media3:media3-ui:1.4.1
+androidx.media:media:1.7.0
+androidx.multidex:multidex:2.0.1
+androidx.print:print:1.0.0
+androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta05
+androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05
+androidx.profileinstaller:profileinstaller:1.3.1
+androidx.recyclerview:recyclerview:1.3.2
+androidx.resourceinspection:resourceinspection-annotation:1.0.1
+androidx.room:room-common:2.6.1
+androidx.room:room-ktx:2.6.1
+androidx.room:room-runtime:2.6.1
+androidx.savedstate:savedstate-ktx:1.2.1
+androidx.savedstate:savedstate:1.2.1
+androidx.slidingpanelayout:slidingpanelayout:1.0.0
+androidx.sqlite:sqlite-framework:2.4.0
+androidx.sqlite:sqlite:2.4.0
+androidx.startup:startup-runtime:1.1.1
+androidx.swiperefreshlayout:swiperefreshlayout:1.0.0
+androidx.tracing:tracing-ktx:1.2.0
+androidx.tracing:tracing:1.2.0
+androidx.transition:transition:1.5.0
+androidx.vectordrawable:vectordrawable-animated:1.1.0
+androidx.vectordrawable:vectordrawable:1.2.0
+androidx.versionedparcelable:versionedparcelable:1.1.1
+androidx.viewpager2:viewpager2:1.1.0
+androidx.viewpager:viewpager:1.0.0
+androidx.work:work-runtime-ktx:2.9.0
+androidx.work:work-runtime:2.9.0
+cn.rongcloud.sdk:cpp_shared:0.0.1
+cn.rongcloud.sdk:crash:1.0.8
+cn.rongcloud.sdk:databuried_annotation:0.2.1
+cn.rongcloud.sdk:im_chatroom:5.16.1
+cn.rongcloud.sdk:im_customservice:5.16.1
+cn.rongcloud.sdk:im_discussion:5.16.1
+cn.rongcloud.sdk:im_lib:5.16.1
+cn.rongcloud.sdk:im_libcore:5.16.1
+cn.rongcloud.sdk:im_location:5.16.1
+cn.rongcloud.sdk:im_publicservice:5.16.1
+com.aliyun.dpa:oss-android-sdk:2.9.5
+com.android.installreferrer:installreferrer:2.2
+com.appsflyer:af-android-sdk:6.15.2
+com.blankj:utilcodex:1.31.1
+com.facebook.android:facebook-android-sdk:17.0.0
+com.facebook.android:facebook-applinks:17.0.0
+com.facebook.android:facebook-bolts:17.0.0
+com.facebook.android:facebook-common:17.0.0
+com.facebook.android:facebook-core:17.0.0
+com.facebook.android:facebook-gamingservices:17.0.0
+com.facebook.android:facebook-login:17.0.0
+com.facebook.android:facebook-messenger:17.0.0
+com.facebook.android:facebook-share:17.0.0
+com.facebook.fresco:animated-base:2.5.0
+com.facebook.fresco:animated-drawable:2.5.0
+com.facebook.fresco:animated-gif:2.5.0
+com.facebook.fresco:animated-webp:2.5.0
+com.facebook.fresco:fbcore:2.5.0
+com.facebook.fresco:fresco:2.5.0
+com.facebook.fresco:imagepipeline-base:2.5.0
+com.facebook.fresco:imagepipeline-native:2.5.0
+com.facebook.fresco:imagepipeline:2.5.0
+com.facebook.fresco:memory-type-ashmem:2.5.0
+com.facebook.fresco:memory-type-java:2.5.0
+com.facebook.fresco:memory-type-native:2.5.0
+com.facebook.fresco:middleware:2.5.0
+com.facebook.fresco:nativeimagefilters:2.5.0
+com.facebook.fresco:nativeimagetranscoder:2.5.0
+com.facebook.fresco:soloader:2.5.0
+com.facebook.fresco:ui-common:2.5.0
+com.facebook.fresco:webpsupport:2.5.0
+com.facebook.infer.annotation:infer-annotation:0.18.0
+com.facebook.soloader:annotation:0.11.0
+com.facebook.soloader:nativeloader:0.11.0
+com.facebook.soloader:soloader:0.11.0
+com.getkeepsafe.relinker:relinker:1.4.4
+com.github.Jay-Goo:RangeSeekBar:v2.0.4
+com.github.tiann:FreeReflection:3.2.0
+com.github.yellowcath:VideoProcessor:2.4.2
+com.google.android.datatransport:transport-api:3.2.0
+com.google.android.datatransport:transport-backend-cct:3.3.0
+com.google.android.datatransport:transport-runtime:3.3.0
+com.google.android.gms:play-services-ads-identifier:18.0.0
+com.google.android.gms:play-services-base:18.5.0
+com.google.android.gms:play-services-basement:18.4.0
+com.google.android.gms:play-services-cloud-messaging:17.2.0
+com.google.android.gms:play-services-location:21.3.0
+com.google.android.gms:play-services-measurement-api:22.0.2
+com.google.android.gms:play-services-measurement-base:22.0.2
+com.google.android.gms:play-services-measurement-impl:22.0.2
+com.google.android.gms:play-services-measurement-sdk-api:22.0.2
+com.google.android.gms:play-services-measurement-sdk:22.0.2
+com.google.android.gms:play-services-measurement:22.0.2
+com.google.android.gms:play-services-stats:17.0.2
+com.google.android.gms:play-services-tasks:18.2.0
+com.google.android.material:material:1.12.0
+com.google.android.play:app-update-ktx:2.1.0
+com.google.android.play:app-update:2.1.0
+com.google.android.play:core-common:2.0.3
+com.google.android.play:feature-delivery-ktx:2.1.0
+com.google.android.play:feature-delivery:2.1.0
+com.google.auto.service:auto-service-annotations:1.1.1
+com.google.auto.value:auto-value-annotations:1.6.3
+com.google.code.findbugs:jsr305:3.0.2
+com.google.code.gson:gson:2.8.8
+com.google.errorprone:error_prone_annotations:2.28.0
+com.google.firebase:firebase-analytics:22.0.2
+com.google.firebase:firebase-annotations:16.2.0
+com.google.firebase:firebase-auth-interop:20.0.0
+com.google.firebase:firebase-bom:33.1.2
+com.google.firebase:firebase-common-ktx:21.0.0
+com.google.firebase:firebase-common:21.0.0
+com.google.firebase:firebase-components:18.0.0
+com.google.firebase:firebase-config-interop:16.0.1
+com.google.firebase:firebase-crashlytics-ndk:19.0.3
+com.google.firebase:firebase-crashlytics:19.0.3
+com.google.firebase:firebase-datatransport:19.0.0
+com.google.firebase:firebase-dynamic-links:22.1.0
+com.google.firebase:firebase-encoders-json:18.0.1
+com.google.firebase:firebase-encoders-proto:16.0.0
+com.google.firebase:firebase-encoders:17.0.0
+com.google.firebase:firebase-iid-interop:17.1.0
+com.google.firebase:firebase-installations-interop:17.2.0
+com.google.firebase:firebase-installations:18.0.0
+com.google.firebase:firebase-measurement-connector:20.0.1
+com.google.firebase:firebase-messaging:24.0.0
+com.google.firebase:firebase-sessions:2.0.3
+com.google.guava:failureaccess:1.0.2
+com.google.guava:guava:33.3.1-android
+com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
+com.google.j2objc:j2objc-annotations:3.0.0
+com.google.zxing:core:3.3.3
+com.googlecode.libphonenumber:libphonenumber:8.13.47
+com.gu.android:toolargetool:0.3.0
+com.parse.bolts:bolts-tasks:1.4.0
+com.payermax:payment-easy:1.0.08
+com.qcloud.cos:cos-android-lite-nobeacon:5.9.6
+com.qcloud.cos:qcloud-foundation:1.5.49
+com.squareup.okhttp3:okhttp:4.12.0
+com.squareup.okio:okio-jvm:3.6.0
+com.squareup.okio:okio:3.6.0
+com.squareup.wire:wire-runtime:2.3.0-RC1
+com.tencent.imsdk:imsdk-plus:8.4.6667
+com.tencent.liteav.tuikit:tuicore:8.4.6667
+com.tencent.liteav:LiteAVSDK_Professional:12.3.0.17115
+com.tencent.liteav:LiteAVSDK_ScreenCapture:12.3.0.17115
+com.tencent.vasdolly:common:3.0.6
+com.tencent.vasdolly:helper:3.0.6
+com.tencent.vasdolly:reader:3.0.6
+com.tencent:mmkv:1.3.9
+com.wenext.android:SVGAPlayer:5.1.6-yoki-beta
+com.wenext.android:animplayer:5.1.4
+com.wenext.android:autosize:5.1.4
+com.wenext.android:drawee:5.1.4
+com.wenext.android:frame-aab:5.1.4
+com.wenext.android:frame-apm:5.1.4
+com.wenext.android:frame-audio:5.1.4
+com.wenext.android:frame-base:5.1.4
+com.wenext.android:frame-bom:5.1.18-yoki-1
+com.wenext.android:frame-coroutine:5.1.4
+com.wenext.android:frame-crash:5.1.4
+com.wenext.android:frame-data:5.1.4
+com.wenext.android:frame-debug:5.1.4
+com.wenext.android:frame-deviceid:5.1.4
+com.wenext.android:frame-dot:5.1.10-yoki-beta
+com.wenext.android:frame-download:5.1.5
+com.wenext.android:frame-effect:5.1.6
+com.wenext.android:frame-game:5.1.4
+com.wenext.android:frame-googleservice:5.1.4
+com.wenext.android:frame-guide:5.1.18-yoki
+com.wenext.android:frame-image:5.1.5-yoki-beta1
+com.wenext.android:frame-locale:5.1.7
+com.wenext.android:frame-log:5.1.5-yoki
+com.wenext.android:frame-media:5.1.8-yoki-beta
+com.wenext.android:frame-mvvm:5.1.4
+com.wenext.android:frame-network:5.1.4
+com.wenext.android:frame-oss:5.1.7-yoki-1
+com.wenext.android:frame-push:5.1.4
+com.wenext.android:frame-router-annotation:5.1.4
+com.wenext.android:frame-router-api:5.1.5
+com.wenext.android:frame-security:5.1.5
+com.wenext.android:frame-share:5.1.18-yoki
+com.wenext.android:frame-sound:5.1.4
+com.wenext.android:frame-spi:5.1.4
+com.wenext.android:frame-statistics:5.1.4
+com.wenext.android:frame-storage:5.1.5-yoki
+com.wenext.android:frame-tceffect:5.1.6-yoki-beta
+com.wenext.android:frame-tcturing:5.1.4
+com.wenext.android:frame-util:5.1.4
+com.wenext.android:frame-zero:5.1.4
+com.wenext.android:retrofit:5.1.4
+id.zelory:compressor:3.0.1
+io.agora.rtc:agora-special-voice:3.7.3.150.AINS
+io.github.scwang90:refresh-drawable-paint:3.0.0-alpha
+io.github.scwang90:refresh-footer-classics:3.0.0-alpha
+io.github.scwang90:refresh-header-material:3.0.0-alpha
+io.github.scwang90:refresh-layout-kernel:3.0.0-alpha
+io.reactivex.rxjava3:rxjava:3.0.4
+javax.inject:javax.inject:1
+org.checkerframework:checker-qual:3.43.0
+org.conscrypt:conscrypt-android:2.5.2
+org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.9.0
+org.jetbrains.kotlin:kotlin-annotations-jvm:1.3.72
+org.jetbrains.kotlin:kotlin-bom:1.8.22
+org.jetbrains.kotlin:kotlin-parcelize-runtime:1.9.0
+org.jetbrains.kotlin:kotlin-stdlib-common:1.9.10
+org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0
+org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0
+org.jetbrains.kotlin:kotlin-stdlib:1.9.0
+org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3
+org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.7.3
+org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3
+org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3
+org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3
+org.jetbrains:annotations:23.0.0
+org.lsposed.hiddenapibypass:hiddenapibypass:4.3
+org.reactivestreams:reactive-streams:1.0.3

+ 4 - 0
app/dependencyGuard.gradle

@@ -0,0 +1,4 @@
+//编译时自动运行 dependencyGuard 任务,监控依赖项变化
+tasks.named("preBuild") {
+    dependsOn("dependencyGuardBaseline")
+}