Skip to content

Commit

Permalink
Deps: Migrated Webkit to Version Catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jul 18, 2024
1 parent d943f37 commit 83f3458
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 1 addition & 2 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ static def addBuildConfigFieldsFromPrefixedProperties(variant, properties, prefi
}

dependencies {
implementation 'androidx.webkit:webkit:1.11.0'
implementation libs.androidx.webkit
implementation "androidx.navigation:navigation-compose:$androidxComposeNavigationVersion"
compileOnly project(path: ':libs:annotations')
ksp project(':libs:processors')
Expand Down Expand Up @@ -423,7 +423,6 @@ dependencies {
implementation "androidx.preference:preference:$androidxPreferenceVersion"
implementation "androidx.work:work-runtime:$androidxWorkManagerVersion"
implementation "androidx.work:work-runtime-ktx:$androidxWorkManagerVersion"
implementation "androidx.webkit:webkit:$androidxWebkitVersion"
implementation "androidx.constraintlayout:constraintlayout:$androidxConstraintlayoutVersion"
implementation "androidx.lifecycle:lifecycle-viewmodel:$androidxLifecycleVersion"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$androidxLifecycleVersion"
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ ext {
androidxSwipeToRefreshVersion = '1.1.0'
androidxViewpager2Version = '1.0.0'
androidxWorkManagerVersion = "2.9.0"
androidxWebkitVersion = '1.11.0'
androidxComposeMaterial3Version = '1.1.1'
apacheCommonsTextVersion = '1.10.0'
coilComposeVersion = '2.4.0'
Expand Down
8 changes: 8 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[versions]
androidxWebkit = '1.11.0'

[libraries]
androidx-webkit = {group = "androidx.webkit", name = "webkit", version.ref = "androidxWebkit"}

[plugins]

0 comments on commit 83f3458

Please sign in to comment.