Skip to content

Commit c84ac95

Browse files
committed
Deps: Migrated uCrop to Version Catalog
1 parent b5d5459 commit c84ac95

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

WordPress/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ dependencies {
451451
implementation libs.apache.commons.text
452452
implementation libs.lottie
453453
implementation libs.facebook.shimmer
454-
implementation ("com.github.yalantis:ucrop:$uCropVersion") {
454+
implementation (libs.ucrop) {
455455
exclude group: 'androidx.core', module: 'core'
456456
exclude group: 'androidx.constraintlayout', module: 'constraintlayout'
457457
exclude group: 'androidx.appcompat', module: 'appcompat'

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ ext {
3636
androidxGridlayoutVersion = '1.0.0'
3737
googleAutoServiceVersion = '1.0.1'
3838
googlePlayServicesCodeScannerVersion = '16.0.0-beta3'
39-
uCropVersion = '2.2.9'
4039

4140
// other
4241
androidDesugarVersion = '2.0.4'

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ soLoader = '0.10.5'
6161
squareupKotlinPoet = '1.16.0'
6262
squareupMockWebServer = '4.12.0'
6363
squareupRetrofit = '2.9.0'
64+
uCrop = '2.2.9'
6465
volley = '1.2.1'
6566
wiremock = '2.26.3'
6667
wiremockHttpClient = '4.3.5.1'
@@ -186,6 +187,7 @@ squareup-kotlinpoet = { group = "com.squareup", name = "kotlinpoet", version.ref
186187
squareup-kotlinpoet-ksp = { group = "com.squareup", name = "kotlinpoet-ksp", version.ref ="squareupKotlinPoet" }
187188
squareup-okhttp-mockWebServer = { group = "com.squareup.okhttp3", name = "mockwebserver", version.ref ="squareupMockWebServer" }
188189
squareup-retrofit2 = { group = "com.squareup.retrofit2", name = "retrofit", version.ref ="squareupRetrofit" }
190+
ucrop = { group = "com.github.yalantis", name = "ucrop", version.ref = "uCrop" }
189191
volley = { group = "com.android.volley", name = "volley", version.ref = "volley" }
190192
wiremock = { group = "com.github.tomakehurst", name = "wiremock", version.ref ="wiremock" }
191193
wiremock-httpclient-android = { group = "org.apache.httpcomponents", name = "httpclient-android", version.ref ="wiremockHttpClient" }

libs/image-editor/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ dependencies {
6262
implementation libs.androidx.lifecycle.viewmodel
6363
implementation libs.androidx.lifecycle.viewmodel.savedstate
6464
implementation libs.androidx.lifecycle.livedata.core
65-
implementation ("com.github.yalantis:ucrop:$uCropVersion") {
65+
implementation (libs.ucrop) {
6666
exclude group: 'com.squareup.okhttp3'
6767
exclude group: 'androidx.core', module: 'core'
6868
exclude group: 'androidx.constraintlayout', module: 'constraintlayout'

0 commit comments

Comments
 (0)