Skip to content

Commit 8d23ef3

Browse files
graycreateclaude
andcommitted
fix: resolve dependency issues for CI pipeline
- Remove deprecated JCenter repository - Update dependency versions and sources: - flexbox: 0.2.6 → 3.0.0 (new package name) - glide-transformations: 3.0.1 → 4.3.0 - easypermissions: 1.0.1 → 3.0.0 - Use JitPack alternatives for libraries no longer on Maven Central: - FlycoTabLayout: com.github.H07000223:FlycoTabLayout - recyclerview-flexibledivider: com.github.yqritc:RecyclerView-FlexibleDivider - condom: com.github.oasisfeng:condom - Add Aliyun Maven repository for additional dependency resolution These changes fix the build failures in the CI pipeline caused by dependencies that were only available on the now-defunct JCenter. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 1ec2dbf commit 8d23ef3

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

app/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ dependencies {
8383
implementation 'androidx.browser:browser:1.3.0'
8484
implementation 'androidx.palette:palette:1.0.0'
8585
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
86-
implementation 'com.google.android:flexbox:0.2.6'
86+
implementation 'com.google.android.flexbox:flexbox:3.0.0'
8787
implementation "androidx.annotation:annotation:1.2.0"
8888
// 3rd part Dependencies...
8989
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
@@ -99,9 +99,9 @@ dependencies {
9999
annotationProcessor "com.google.dagger:dagger-compiler:2.28.3"
100100
implementation 'com.github.bumptech.glide:glide:4.11.0'
101101
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
102-
implementation 'jp.wasabeef:glide-transformations:3.0.1'
102+
implementation 'jp.wasabeef:glide-transformations:4.3.0'
103103
implementation 'de.hdodenhof:circleimageview:2.1.0'
104-
implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2'
104+
implementation 'com.github.H07000223:FlycoTabLayout:2.1.2@aar'
105105
implementation 'com.orhanobut:logger:2.2.0'
106106
implementation 'com.trello.rxlifecycle2:rxlifecycle:2.2.0'
107107
implementation 'com.trello.rxlifecycle2:rxlifecycle-android:2.2.0'
@@ -110,14 +110,14 @@ dependencies {
110110
implementation 'me.ghui:Fruit:1.0.4'
111111
implementation 'me.ghui:fruit-converter-retrofit:1.0.5'
112112
implementation 'me.ghui:global-retrofit-converter:1.0.2'
113-
implementation 'com.yqritc:recyclerview-flexibledivider:1.4.0'
113+
implementation 'com.github.yqritc:RecyclerView-FlexibleDivider:1.4.0'
114114
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0'
115115
//noinspection GradleDynamicVersion
116116
implementation 'com.r0adkll:slidableactivity:2.0.5'
117117
implementation 'com.github.bumptech.glide:okhttp3-integration:4.1.1'
118-
implementation 'pub.devrel:easypermissions:1.0.1'
118+
implementation 'pub.devrel:easypermissions:3.0.0'
119119
implementation 'org.greenrobot:eventbus:3.3.1'
120-
implementation 'com.oasisfeng.condom:library:2.2.0'
120+
implementation 'com.github.oasisfeng:condom:2.5.0'
121121
implementation 'org.slf4j:slf4j-nop:1.7.25'
122122
implementation 'androidx.core:core-splashscreen:1.0.1'
123123
}

build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ apply from: "config.gradle"
33
buildscript {
44
repositories {
55
google()
6-
jcenter()
76
mavenCentral()
87
maven { url "https://plugins.gradle.org/m2/" }
98
}
@@ -14,11 +13,13 @@ buildscript {
1413

1514
allprojects {
1615
repositories {
17-
mavenCentral()
18-
jcenter()
1916
google()
17+
mavenCentral()
2018
maven { url "https://jitpack.io" }
21-
// maven { url "https://dl.bintray.com/ghui/Java" }
19+
// Add repository for dependencies that were on JCenter
20+
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
21+
// For FlycoTabLayout
22+
maven { url 'https://maven.aliyun.com/repository/public' }
2223
}
2324
}
2425

0 commit comments

Comments
 (0)