Skip to content

Commit c754ee3

Browse files
Use Automattic uCrop fork
1 parent 92a9b88 commit c754ee3

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

WordPress/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ repositories {
9797
includeGroupByRegex "org.wordpress.react-native-libraries.*"
9898
includeGroup "com.automattic"
9999
includeGroup "com.automattic.tracks"
100+
includeGroup "com.automattic.ucrop"
100101
includeGroup "com.gravatar"
101102
includeGroup "rs.wordpress.api"
102103
}
@@ -489,7 +490,7 @@ dependencies {
489490
implementation(libs.apache.commons.text)
490491
implementation(libs.airbnb.lottie.main)
491492
implementation(libs.facebook.shimmer)
492-
implementation(libs.yalantis.ucrop) {
493+
implementation(libs.automattic.ucrop) {
493494
exclude group: 'androidx.core', module: 'core'
494495
exclude group: 'androidx.constraintlayout', module: 'constraintlayout'
495496
exclude group: 'androidx.appcompat', module: 'appcompat'

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ wordpress-login = '155-de03d4d605843dd2f37b46430523d92e22c47432'
9494
wordpress-persistent-edittext = '1.0.2'
9595
wordpress-rs = 'trunk-50f703a7f677084157d02f05d4d477d7eaf960b1'
9696
wordpress-utils = '3.14.0'
97-
yalantis-ucrop = '2.2.9'
97+
automattic-ucrop = '2.2.10'
9898
zendesk = '5.1.2'
9999

100100
[libraries]
@@ -227,7 +227,7 @@ wordpress-lint = { group = "org.wordpress", name = "lint", version.ref = "wordpr
227227
wordpress-persistent-edittext = { group = "org.wordpress", name = "persistentedittext", version.ref = "wordpress-persistent-edittext" }
228228
wordpress-rs-android = { group = "rs.wordpress.api", name = "android", version.ref = "wordpress-rs" }
229229
wordpress-utils = { group = "org.wordpress", name = "utils", version.ref = "wordpress-utils" }
230-
yalantis-ucrop = { group = "com.github.yalantis", name = "ucrop", version.ref = "yalantis-ucrop" }
230+
automattic-ucrop = { group = "com.automattic", name = "ucrop", version.ref = "automattic-ucrop" }
231231
zendesk-support = { group = "com.zendesk", name = "support", version.ref = "zendesk" }
232232

233233
[plugins]

libs/image-editor/build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ android {
3939
}
4040

4141
repositories {
42-
maven { url "https://www.jitpack.io" }
42+
maven {
43+
url 'https://a8c-libs.s3.amazonaws.com/android'
44+
content {
45+
includeGroup "com.automattic"
46+
includeGroup "com.automattic.ucrop"
47+
}
48+
}
4349
}
4450

4551
dependencies {
@@ -57,7 +63,7 @@ dependencies {
5763
implementation(libs.androidx.lifecycle.viewmodel.main)
5864
implementation(libs.androidx.lifecycle.viewmodel.savedstate)
5965
implementation(libs.androidx.lifecycle.livedata.core)
60-
implementation(libs.yalantis.ucrop) {
66+
implementation(libs.automattic.ucrop) {
6167
exclude group: 'com.squareup.okhttp3'
6268
exclude group: 'androidx.core', module: 'core'
6369
exclude group: 'androidx.constraintlayout', module: 'constraintlayout'

0 commit comments

Comments
 (0)