diff --git a/WordPress/build.gradle b/WordPress/build.gradle index 4ac759a41035..3a4cc8b4d726 100644 --- a/WordPress/build.gradle +++ b/WordPress/build.gradle @@ -8,7 +8,7 @@ plugins { id "org.jetbrains.kotlin.plugin.parcelize" id "org.jetbrains.kotlin.plugin.allopen" alias(libs.plugins.sentry) - id "se.bjurr.violations.violation-comments-to-github-gradle-plugin" + alias(libs.plugins.violation.comments) id "com.google.gms.google-services" alias(libs.plugins.dagger) alias(libs.plugins.kover) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8eb75f567bb0..1e81c1683eec 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -69,6 +69,7 @@ squareupKotlinPoet = '1.16.0' squareupMockWebServer = '4.12.0' squareupRetrofit = '2.9.0' uCrop = '2.2.9' +violationComments = '1.70.0' volley = '1.2.1' wiremock = '2.26.3' wiremockHttpClient = '4.3.5.1' @@ -214,3 +215,4 @@ ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } measure-builds = { id = "com.automattic.android.measure-builds", version.ref = "measureBuilds" } navigation-safeargs = { id = "androidx.navigation.safeargs.kotlin", version.ref = "navigation" } sentry = { id = "io.sentry.android.gradle", version.ref = "sentry" } +violation-comments = { id = "se.bjurr.violations.violation-comments-to-github-gradle-plugin", version.ref = "violationComments" } diff --git a/settings.gradle b/settings.gradle index 4e972a62ac0f..f4d02842c4a7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,7 +2,6 @@ pluginManagement { gradle.ext.kotlinVersion = '1.9.22' gradle.ext.agpVersion = '8.1.0' gradle.ext.googleServicesVersion = '4.3.15' - gradle.ext.violationCommentsVersion = '1.70.0' plugins { id "org.jetbrains.kotlin.android" version gradle.ext.kotlinVersion @@ -13,7 +12,6 @@ pluginManagement { id "com.android.application" version gradle.ext.agpVersion id "com.android.library" version gradle.ext.agpVersion id 'com.google.gms.google-services' version gradle.ext.googleServicesVersion - id "se.bjurr.violations.violation-comments-to-github-gradle-plugin" version gradle.ext.violationCommentsVersion } repositories { maven {