diff --git a/WordPress/build.gradle b/WordPress/build.gradle index 4b11a35570f3..436bfb12bf0e 100644 --- a/WordPress/build.gradle +++ b/WordPress/build.gradle @@ -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" } diff --git a/settings.gradle b/settings.gradle index 5e48b42287db..0d10ae86bff7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -4,7 +4,7 @@ pluginManagement { gradle.ext.googleServicesVersion = '4.3.15' gradle.ext.navigationVersion = '2.5.3' gradle.ext.sentryVersion = '3.5.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' @@ -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 { @@ -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 {