From 94425fcaf9abf44e18f9385f17dd8cd230fc9079 Mon Sep 17 00:00:00 2001 From: IUADE0FY Date: Mon, 17 Jun 2024 10:02:55 +0300 Subject: [PATCH] Bump Gradle Versions plugin to 0.51.0 --- build.gradle.kts | 8 ++++---- buildSrc/src/main/java/Dependencies.kt | 16 +++++++--------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 9a075ed..5ba0427 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,10 +33,10 @@ buildscript { } dependencies { - classpath(deps.plugins.androidGradle) - classpath(deps.plugins.kotlinGradle) - classpath(deps.plugins.kspGradle) - classpath(deps.plugins.daggerHiltGradle) + classpath(deps.plugins.kotlin) + classpath(deps.plugins.android) + classpath(deps.plugins.ksp) + classpath(deps.plugins.daggerHilt) classpath(deps.plugins.gradleVersions) classpath(deps.plugins.dokka) classpath(deps.plugins.shadow) diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt index 00329f1..449c924 100644 --- a/buildSrc/src/main/java/Dependencies.kt +++ b/buildSrc/src/main/java/Dependencies.kt @@ -70,23 +70,22 @@ object versions { const val gradlePlugin = "8.1.0" // also in buildSrc build.gradle.kts file const val detektPlugin = "1.20.0" const val ktlintPlugin = "10.3.0" - const val gradleVersionsPlugin = "0.42.0" + const val gradleVersionsPlugin = "0.51.0" const val dokkaPlugin = "1.7.0" const val shadowPlugin = "7.1.2" + const val ksp = "1.9.24-1.0.20" + const val dagger = "2.48" const val appCompat = "1.4.2" const val navigation = "2.5.1" const val fragmentKtx = "1.5.1" const val constraintLayout = "2.1.4" - const val dagger = "2.48" const val materialComponents = "1.6.1" const val apacheCommons = "3.12.0" const val javaPoet = "1.13.0" // also in buildSrc build.gradle.kts file const val kotlinPoet = "1.12.0" const val incap = "0.3" const val autoService = "1.0" - const val ksp = "1.9.24-1.0.20" const val jUnit = "4.13.2" - const val jUnitExt = "1.1.2" const val truth = "1.1.3" const val ktCompileTesting = "1.6.0" const val testParamInjector = "1.0" @@ -96,10 +95,10 @@ object deps { object plugins { - const val androidGradle = "com.android.tools.build:gradle:${versions.gradlePlugin}" - const val kotlinGradle = "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}" - const val kspGradle = "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${versions.ksp}" - const val daggerHiltGradle = "com.google.dagger:hilt-android-gradle-plugin:${versions.dagger}" + const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}" + const val android = "com.android.tools.build:gradle:${versions.gradlePlugin}" + const val ksp = "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${versions.ksp}" + const val daggerHilt = "com.google.dagger:hilt-android-gradle-plugin:${versions.dagger}" const val gradleVersions = "com.github.ben-manes:gradle-versions-plugin:${versions.gradleVersionsPlugin}" const val dokka = "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokkaPlugin}" const val shadow = "gradle.plugin.com.github.johnrengelman:shadow:${versions.shadowPlugin}" @@ -139,7 +138,6 @@ object deps { const val kspCore = "com.google.devtools.ksp:symbol-processing:${versions.ksp}" const val kspApi = "com.google.devtools.ksp:symbol-processing-api:${versions.ksp}" const val jUnit = "junit:junit:${versions.jUnit}" - const val jUnitExt = "androidx.test.ext:junit:${versions.jUnitExt}" const val truth = "com.google.truth:truth:${versions.truth}" const val kspCompileTesting = "com.github.tschuchortdev:kotlin-compile-testing-ksp:${versions.ktCompileTesting}" const val testParamInjector = "com.google.testparameterinjector:test-parameter-injector:${versions.testParamInjector}"