Skip to content

Commit

Permalink
Merge pull request #20144 from wordpress-mobile/bump_dagger_to_2.50
Browse files Browse the repository at this point in the history
build: bump Hilt/Dagger to `2.50`
  • Loading branch information
irfano authored Feb 16, 2024
2 parents 2741f03 + 6fdbf55 commit 04efea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
id "io.sentry.android.gradle"
id "se.bjurr.violations.violation-comments-to-github-gradle-plugin"
id "com.google.gms.google-services"
id 'dagger.hilt.android.plugin'
id "com.google.dagger.hilt.android"
id "org.jetbrains.kotlinx.kover"
}

Expand Down
11 changes: 2 additions & 9 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pluginManagement {
gradle.ext.googleServicesVersion = '4.3.15'
gradle.ext.navigationVersion = '2.5.3'
gradle.ext.sentryVersion = '3.14.0'
gradle.ext.daggerVersion = "2.46.1"
gradle.ext.daggerVersion = "2.50"
gradle.ext.detektVersion = '1.23.0'
gradle.ext.violationCommentsVersion = '1.67'
gradle.ext.measureBuildsVersion = '2.0.3'
Expand All @@ -26,6 +26,7 @@ pluginManagement {
id "se.bjurr.violations.violation-comments-to-github-gradle-plugin" version gradle.ext.violationCommentsVersion
id 'com.automattic.android.measure-builds' version gradle.ext.measureBuildsVersion
id "org.jetbrains.kotlinx.kover" version gradle.ext.koverVersion
id "com.google.dagger.hilt.android" version gradle.ext.daggerVersion
}
repositories {
maven {
Expand All @@ -38,14 +39,6 @@ pluginManagement {
gradlePluginPortal()
google()
}
resolutionStrategy {
eachPlugin {
// TODO: Remove this when 'dagger.hilt' starts supporting Plugin Marker Artifacts
if (requested.id.id == 'dagger.hilt.android.plugin') {
useModule("com.google.dagger:hilt-android-gradle-plugin:$gradle.ext.daggerVersion")
}
}
}
}

plugins {
Expand Down

0 comments on commit 04efea3

Please sign in to comment.