Skip to content

Commit d6df038

Browse files
committed
build(deps): update Logcat dependency and adjust repositories
- Update Logcat dependency to version 9.8 - Change Logcat dependency from com.hjq to com.github.getActivity - Reorder repositories in build.gradle: - Move mavenCentral above jitpack.io - Add google() repository
1 parent a317fcb commit d6df038

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ allprojects {
4343
// }
4444
// public java and android repository
4545
// maven { url 'https://maven.aliyun.com/repository/public/' }
46-
mavenCentral()
4746
maven { url 'https://jitpack.io' }
47+
mavenCentral()
4848
google()
4949
}
5050

config.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ subprojects {
106106
// https://github.com/square/leakcanary
107107
"com.squareup.leakcanary:leakcanary-android": "com.squareup.leakcanary:leakcanary-android:2.5",
108108
// https://github.com/getActivity/Logcat
109-
"com.hjq:logcat" : "com.hjq:logcat:9.2",
109+
"com.hjq:logcat" : "com.hjq:logcat:9.8",
110+
// https://jitpack.io/#com.github.getActivity/Logcat
111+
"com.github.getActivity:Logcat" : "com.github.getActivity:Logcat:9.8",
110112
]
111113

112114
depends_android_x = [

demo/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ dependencies {
112112
// test end
113113

114114
// logcat window https://github.com/getActivity/Logcat
115-
debugImplementation depends_debug["com.hjq:logcat"]
115+
debugImplementation depends_debug["com.github.getActivity:Logcat"]
116116

117117
// butter knife only for module test!
118118
// implementation depends.butterknife

0 commit comments

Comments
 (0)