Skip to content

Commit

Permalink
Plugin & Deps: Migrated ksp to Version Catlog
Browse files Browse the repository at this point in the history
Co-Authored-By: Petros Paraskevopoulos <[email protected]>
Co-Authored-By: Wojciech Zięba <[email protected]>
  • Loading branch information
3 people committed Jul 6, 2024
1 parent 87deaa1 commit 1b24d2d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
id "com.google.gms.google-services"
alias(libs.plugins.dagger)
alias(libs.plugins.kover)
id "com.google.devtools.ksp"
alias(libs.plugins.ksp)
}

sentry {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
id "com.android.library" apply false
id 'com.google.gms.google-services' apply false
id "org.jetbrains.kotlin.plugin.parcelize" apply false
id "com.google.devtools.ksp" apply false
alias(libs.plugins.ksp).apply(false)
}

ext {
Expand Down
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jsoup = '1.16.2'
junit = '4.13.2'
kotlinxCoroutines = '1.7.3'
kover = "0.7.5"
ksp = "1.9.22-1.0.17"
lottie = '6.1.0'
measureBuilds = '2.1.2'
mockitoAndroid = '4.5.1'
Expand Down Expand Up @@ -185,6 +186,7 @@ junit = { group = "junit", name = "junit", version.ref ="junit" }
kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref ="kotlinxCoroutines" }
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref ="kotlinxCoroutines" }
kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref ="kotlinxCoroutines" }
ksp-sympol-processing-api = { group = "com.google.devtools.ksp", name = "symbol-processing-api", version.ref = "ksp" }
lottie = { group = "com.airbnb.android", name = "lottie", version.ref ="lottie" }
lottie-compose = { group = "com.airbnb.android", name = "lottie-compose", version.ref ="lottie" }
mockito-android = { group = "org.mockito", name = "mockito-android", version.ref ="mockitoAndroid" }
Expand All @@ -208,6 +210,7 @@ dagger = { id = "com.google.dagger.hilt.android", version.ref = "dagger" }
dependency-analysis = { id = "com.autonomousapps.dependency-analysis", version.ref = "dependencyAnalysis" }
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
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" }
2 changes: 1 addition & 1 deletion libs/processors/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {

implementation libs.squareup.kotlinpoet
implementation libs.squareup.kotlinpoet.ksp
implementation "com.google.devtools.ksp:symbol-processing-api:$gradle.ext.kspVersion"
implementation libs.ksp.sympol.processing.api

def kctVersion = "1.5.0"
testImplementation "com.github.tschuchortdev:kotlin-compile-testing:$kctVersion"
Expand Down
2 changes: 0 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pluginManagement {
gradle.ext.kotlinVersion = '1.9.22'
gradle.ext.kspVersion = '1.9.22-1.0.17'
gradle.ext.agpVersion = '8.1.0'
gradle.ext.googleServicesVersion = '4.3.15'
gradle.ext.violationCommentsVersion = '1.70.0'
Expand All @@ -15,7 +14,6 @@ pluginManagement {
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
id "com.google.devtools.ksp" version gradle.ext.kspVersion
}
repositories {
maven {
Expand Down

0 comments on commit 1b24d2d

Please sign in to comment.